Closed davidorme closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.93%. Comparing base (
62ebb70
) to head (ae99383
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@dalonsoa and @jacobcook1995
I realised I was starting to run away with a grand documentation PR so I'm giving myself a stern talking to and stopping. Could you have another quick look and see if anything is wildly bad? The documentation stuff is quite 'dynamic' right now, so I think we'll likely have a tidy up phase once all of this has settled down.
@dalonsoa Yup - we've got a lot of movement and it seems better to keep everything up to date in develop
and use small PRs rather than spinning off into deep parallel PRs!
Description
This PR improves the implementation section of the documents. The docs for the PR are being built here:
https://virtual-ecosystem.readthedocs.io/en/514-review-the-implementation-section-of-the-docs/virtual_ecosystem/implementation/implementation.html
Broadly:
sphinx
tree but possibly should move intocore.variables
when they mature!This PR also fiddles with
sphinx
:I've turned off the
RemovedInSphinx80Warning
warnings fromsphinx.deprecation
that are spamming the sphinx output and making it unreadable.I've added
sphinx.ext.viewcode
to provide links to the source code from the API docs. That does add some time, as thesphinx
run has to highlight and include the module code in the docs, but it is a useful feature. See the[source]
tag here:https://virtual-ecosystem.readthedocs.io/en/514-review-the-implementation-section-of-the-docs/api/core/config.html#virtual_ecosystem.core.config.Config
I've turned on figure numbering using
numref
. That adds time for... reasons?Fixes #514
Type of change
Key checklist
pre-commit
checks:$ pre-commit run -a
$ poetry run pytest
Further checks