You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: relative_crossrefs not rendered in summary table. #331
relative_crossrefs not rendered in summary table provided by summary. The table simply instead show the syntax [Name][..] directly in the descriptions.
Apologies, I should've tested the commands first. 😢
This should work:
git clone -b docs-example --single-branch https://github.com/easyscience/imaging-lib.git
cd imaging-lib
pixi install
pixi run docs-serve
And then open the documentation in your favourite browser. The final output should list where the documentation got served, for me it was: http://127.0.0.1:8000/imaging-lib/
Then, navigate to API Reference and to Measurement and scroll down to the summary table, i.e. the table of method and attributes summaries provided when using summary: true in the mkdocs.yml file options. There you should see the bug. Interestingly enough the relative crossrefs works for imported inventories.
I can also try to reproduce a minimal example using the syntax from your documentation:
In the python file package/module.py
"""Module docstring."""classThisClass:
"""Class docstring."""defmethod(self):
"""Method docstring with relative crossref to parent [class][..]"""
Activity
[-]bug:[/-][+]bug: `relative_crossrefs` not rendered in `summary` table.[/+]pawamoy commentedon Jun 16, 2026
Thanks for the report @damskii9992.
That's not a valid command.
What table? Please point me at the docstrings that illustrate the issue, or provide an actual minimal repro 🙂
damskii9992 commentedon Jun 18, 2026
Apologies, I should've tested the commands first. 😢
This should work:
git clone -b docs-example --single-branch https://github.com/easyscience/imaging-lib.git cd imaging-lib pixi install pixi run docs-serveAnd then open the documentation in your favourite browser. The final output should list where the documentation got served, for me it was: http://127.0.0.1:8000/imaging-lib/
Then, navigate to API Reference and to Measurement and scroll down to the summary table, i.e. the table of method and attributes summaries provided when using
summary: truein the mkdocs.yml file options. There you should see the bug. Interestingly enough the relative crossrefs works for imported inventories.I can also try to reproduce a minimal example using the syntax from your documentation:
In the python file package/module.py
And in mkdocs.yml:
I have not tested it, but the above minimal example should also show the bug.
fix: Allow relative cross-references to work in summaries
pawamoy commentedon Jun 19, 2026
Thanks! Fixed in abe2888 🙂