| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Does this one need release notes? |
Sorry, something went wrong.
There was a problem hiding this comment.
I have a few cosmetics to check for
Sorry, something went wrong.
This allows linking to a glossary term with custom text for the link. Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Also add some specifics about passive sign convention from the point of view of the grid connection. And fix a typo. Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Based on review comments Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
There was a problem hiding this comment.
Added a commit with the changes
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, I'll leave it to Luca to approve it as he still needs to resolve his comments
Sorry, something went wrong.
There was a problem hiding this comment.
I strongly recommend adding a comment but I'm fine to merge as is too.
Sorry, something went wrong.
| glossary_path = pathlib.Path("user-guide/glossary.md") | ||
| link_path = glossary_path.relative_to(current_path.parent) | ||
| return f"[{term}]({link_path}#{_slugify(term)})" | ||
| link_path = os.path.relpath(glossary_path, current_path.parent) |
There was a problem hiding this comment.
Mmm, interesting. I would add a comment about this because it's not obvious at all so I wouldn't be surprised if someone wants to change it back.
Sorry, something went wrong.
There was a problem hiding this comment.
done
Sorry, something went wrong.
The `pathlib` method expects one path to be the sub path of the other. The `os.path` function is able to find a relative path even if they diverge, by adding `../`. Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
| Back | FazBrowse Home | New Git URL |
Closes #456