Uh oh!
There was an error while loading. Please reload this page.
sphinx ext: include autosummary templates and extensions from cookiecutter-scverse - #60
Conversation
This moves the autosummary templates and custom Sphinx extensions from cookiecutter-scverse into our own Sphinx extension. See also the discussion in scverse/cookiecutter-scverse#483
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #60 +/- ##
==========================================
- Coverage 93.28% 93.26% -0.02%
==========================================
Files 11 11 Lines 536 579 +43 ==========================================
+ Hits 500 540 +40 - Misses 36 39 +3
🚀 New features to boost your workflow:
|
grst
commented
Jul 1, 2026
I don't see any issues from the technical side. |
ilia-kats
commented
Jul 2, 2026
I've added some docs. I would love to get rid of our own |
grst
commented
Jul 2, 2026
|
ilia-kats
commented
Jul 2, 2026
That's the plan, isn't it? |
grst
commented
Jul 2, 2026
It is, but what do you mean by this then?
|
So scverse_misc currently has two sets of templates: One in |
grst
commented
Jul 2, 2026
IIUC, this bug only affects a minority of repos that want to document "special" functions with sphinx autodocs. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| yield line | ||
| def _parse_returns_section(self: NumpyDocstring, section: str) -> list[str]: |
There was a problem hiding this comment.
we should document that we do this (and what “this” is).
There was a problem hiding this comment.
Done. Not sure if that one sentence is enough, but the cookiecutter thing wasn't documented at all, so better than it used to be, I guess?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This moves the autosummary templates and custom Sphinx extensions from cookiecutter-scverse into our own Sphinx extension. See also the discussion in scverse/cookiecutter-scverse#483.