documenteer 1.4.2__tar.gz → 2.0.0a2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.github/workflows/ci-cron.yaml +6 -2
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.github/workflows/ci.yaml +8 -4
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.pre-commit-config.yaml +9 -19
- documenteer-2.0.0a2/.vscode/settings.json +4 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/CHANGELOG.md +0 -14
- {documenteer-1.4.2/src/documenteer.egg-info → documenteer-2.0.0a2}/PKG-INFO +11 -25
- documenteer-2.0.0a2/changelog.d/20240819_152413_jsick_DM_45803.md +33 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/Makefile +1 -2
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/_rst_epilog.rst +0 -5
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/changelog.md +0 -14
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/api/documenteer.ext.rst +0 -7
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/api/index.rst +0 -2
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/documenteer.toml +10 -8
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/index.rst +0 -8
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/page-redirects.rst +1 -1
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/index.rst +1 -15
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/index.rst +0 -10
- {documenteer-1.4.2 → documenteer-2.0.0a2}/pyproject.toml +69 -40
- documenteer-2.0.0a2/ruff-shared.toml +139 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/cli.py +1 -2
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/conf/_toml.py +45 -55
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/conf/_utils.py +4 -7
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/conf/guide.py +62 -16
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/conf/technote.py +5 -11
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/bibtex.py +4 -2
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/githubbibcache.py +1 -1
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/jira.py +49 -35
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/lsstdocushare.py +17 -16
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/mockcoderefs.py +16 -4
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/openapi.py +6 -6
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/remotecodeblock.py +24 -28
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/packagemetadata.py +8 -22
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/requestsutils.py +8 -7
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/services/technoteauthor.py +6 -4
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/services/technotemigration.py +21 -14
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/authordb.py +2 -7
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/conf.py +1 -1
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates.py +1 -1
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/technotetoml.py +3 -6
- documenteer-2.0.0a2/src/documenteer/templates/pydata/autosummary_core/exception.rst +15 -0
- documenteer-2.0.0a2/src/documenteer/templates/pydata/autosummary_core/pydantic_model.rst +11 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/utils.py +11 -13
- {documenteer-1.4.2 → documenteer-2.0.0a2/src/documenteer.egg-info}/PKG-INFO +11 -25
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer.egg-info/SOURCES.txt +5 -49
- documenteer-2.0.0a2/src/documenteer.egg-info/entry_points.txt +2 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer.egg-info/requires.txt +2 -19
- documenteer-2.0.0a2/tests/conftest.py +24 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/ext/jira_test.py +6 -5
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/ext/lsstdocushare_test.py +7 -5
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/ext/mockcoderefs_test.py +13 -11
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/storage/technotetoml_test.py +0 -1
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/test_conf_toml.py +3 -5
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tox.ini +12 -6
- documenteer-1.4.2/.github/workflows/dependencies.yaml +0 -33
- documenteer-1.4.2/.vscode/settings.json +0 -6
- documenteer-1.4.2/docs/dev/api/documenteer.sphinxrunner.rst +0 -6
- documenteer-1.4.2/docs/dev/api/documenteer.stackdocs.rst +0 -21
- documenteer-1.4.2/docs/guides/pipelines/build-overview.rst +0 -112
- documenteer-1.4.2/docs/guides/pipelines/configuration.rst +0 -84
- documenteer-1.4.2/docs/guides/pipelines/cpp-api-linking.rst +0 -116
- documenteer-1.4.2/docs/guides/pipelines/index.rst +0 -17
- documenteer-1.4.2/docs/guides/pipelines/install.rst +0 -45
- documenteer-1.4.2/docs/guides/pipelines/package-docs-cli.rst +0 -15
- documenteer-1.4.2/docs/guides/pipelines/stack-docs-cli.rst +0 -15
- documenteer-1.4.2/docs/sphinx-extensions/autocppapi.rst +0 -69
- documenteer-1.4.2/docs/sphinx-extensions/autodocreset.rst +0 -22
- documenteer-1.4.2/docs/sphinx-extensions/lssttasks.rst +0 -376
- documenteer-1.4.2/docs/sphinx-extensions/package-toctree.rst +0 -76
- documenteer-1.4.2/src/documenteer/conf/pipelines.py +0 -224
- documenteer-1.4.2/src/documenteer/conf/pipelinespkg.py +0 -15
- documenteer-1.4.2/src/documenteer/ext/_utils.py +0 -210
- documenteer-1.4.2/src/documenteer/ext/autocppapi.py +0 -307
- documenteer-1.4.2/src/documenteer/ext/autodocreset.py +0 -26
- documenteer-1.4.2/src/documenteer/ext/lssttasks/__init__.py +0 -84
- documenteer-1.4.2/src/documenteer/ext/lssttasks/configfieldlists.py +0 -1179
- documenteer-1.4.2/src/documenteer/ext/lssttasks/crossrefs.py +0 -397
- documenteer-1.4.2/src/documenteer/ext/lssttasks/pyapisummary.py +0 -320
- documenteer-1.4.2/src/documenteer/ext/lssttasks/taskutils.py +0 -221
- documenteer-1.4.2/src/documenteer/ext/lssttasks/topiclists.py +0 -276
- documenteer-1.4.2/src/documenteer/ext/lssttasks/topics.py +0 -169
- documenteer-1.4.2/src/documenteer/ext/packagetoctree.py +0 -245
- documenteer-1.4.2/src/documenteer/sphinxrunner.py +0 -69
- documenteer-1.4.2/src/documenteer/stackdocs/build.py +0 -307
- documenteer-1.4.2/src/documenteer/stackdocs/data/cppreference-doxygen-web.tag.xml +0 -35489
- documenteer-1.4.2/src/documenteer/stackdocs/data/doxygen.defaults.conf +0 -2414
- documenteer-1.4.2/src/documenteer/stackdocs/data/mainpage.dox +0 -9
- documenteer-1.4.2/src/documenteer/stackdocs/doxygen.py +0 -732
- documenteer-1.4.2/src/documenteer/stackdocs/doxygentag.py +0 -59
- documenteer-1.4.2/src/documenteer/stackdocs/packagecli.py +0 -142
- documenteer-1.4.2/src/documenteer/stackdocs/pkgdiscovery.py +0 -308
- documenteer-1.4.2/src/documenteer/stackdocs/rootdiscovery.py +0 -118
- documenteer-1.4.2/src/documenteer/stackdocs/stackcli.py +0 -342
- documenteer-1.4.2/src/documenteer.egg-info/entry_points.txt +0 -4
- documenteer-1.4.2/tests/conftest.py +0 -21
- documenteer-1.4.2/tests/ext/autocppapi_test.py +0 -38
- documenteer-1.4.2/tests/ext/lssttasks/taskutils_test.py +0 -32
- documenteer-1.4.2/tests/ext/packagetoctree_test.py +0 -20
- documenteer-1.4.2/tests/ext/utils_test.py +0 -25
- documenteer-1.4.2/tests/storage/__init__.py +0 -0
- documenteer-1.4.2/tests/test_stackdocs_build.py +0 -77
- documenteer-1.4.2/tests/test_stackdocs_doxygen.py +0 -168
- documenteer-1.4.2/tests/test_stackdocs_doxygentag.py +0 -48
- documenteer-1.4.2/tests/test_stackdocs_pkgdiscovery.py +0 -65
- documenteer-1.4.2/tests/test_stackdocs_rootdiscovery.py +0 -117
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.flake8 +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.github/CODE_OF_CONDUCT.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.github/CONTRIBUTING.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.github/SUPPORT.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.github/dependabot.yml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.npmrc +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.nvmrc +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.prettierignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.prettierrc.yaml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/.vscode/tasks.json +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/LICENSE +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/MANIFEST.in +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/Makefile +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/changelog.d/_template.md.jinja +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/.gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/Makefile +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/conf.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/diagram.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/extra-notebook.ipynb +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/index.ipynb +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/subdir/subdir-notebook.ipynb +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/ipynb-technote/technote.toml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/md-technote/.gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/md-technote/Makefile +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/md-technote/conf.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/md-technote/diagram.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/md-technote/index.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/md-technote/technote.toml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/rst-technote/.gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/rst-technote/Makefile +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/rst-technote/conf.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/rst-technote/diagram.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/rst-technote/index.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/demo/rst-technote/technote.toml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/.gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/conf.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/api/documenteer.conf.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/api/documenteer.requestsutils.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/development.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/html-templates.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/index.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/release.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/theme-assets.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/dev/theme.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/badges.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/configuration-preset.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/configuration.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/diagrams.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/extend-conf-py.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/including-notebooks.ipynb +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/markdown-primer.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/openapi.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/organization.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/overview.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/pyproject-configuration.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/rst-epilog.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/tabsets.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/toml-reference.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/guides/video-embeds.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/docushare-reference.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/githubbibcache.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/jira-reference.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/lsst-pybtex-style.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/openapi.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/sphinx-extensions/remote-code-block.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/_templates/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/_templates/README.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/author-metadata.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/configuration.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/document-status.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/edit-locally.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/edit-on-github.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/extensions.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/how-your-technote-gets-published.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/index.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/migrate.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/start-a-technote.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/docs/technotes/wide-content.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/licenses/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/licenses/astropy-helpers.txt +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/licenses/sphinx-issue.txt +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/licenses/sphinx.txt +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/package-lock.json +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/package.json +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/postcss.config.js +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/setup.cfg +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/SourceSans3VF-Italic.ttf.woff2 +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/SourceSans3VF-Upright.ttf.woff2 +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/_hacks.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/_properties.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/components/_article-header.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/components/_authors.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/components/_global-breadcrumbs.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/components/_index.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/components/_sidebar-section.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/components/_version-info.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/assets/rubin-technote/styles/rubin-technote.scss +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/.gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/731c8feefe13e72a8691.woff2 +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/b8bc3440ba2145e132f5.woff2 +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/favicon.ico +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rsd-assets/rubin-imagotype-color-on-black-crop.svg +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rsd-assets/rubin-imagotype-color-on-white-crop.svg +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-favicon-transparent-32px.png +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-favicon.svg +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-pydata-theme.css +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-technote.css +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-technote.css.map +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-titlebar-imagotype-dark.svg +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/rubin-titlebar-imagotype-light.svg +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/scripts/rubin-technote.js +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/assets/scripts/rubin-technote.js.map +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/conf/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/ext/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/py.typed +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/services/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/latex.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/Makefile +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/README.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/ci.yaml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/dependabot.yml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/gitignore +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/pre-commit-config.yaml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/requirements.txt +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/storage/localtemplates/technote/tox.ini +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/pydata/layout.html +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/technote/.gitkeep +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/technote/components/.gitkeep +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/technote/components/sidebar-source.html +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/technote/sections/.gitkeep +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/technote/sections/header-article.html +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/templates/technote/sections/sidebar-primary.html +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer/version.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer.egg-info/dependency_links.txt +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/src/documenteer.egg-info/top_level.txt +0 -0
- {documenteer-1.4.2/src/documenteer/stackdocs → documenteer-2.0.0a2/tests}/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/afw.doxygen.conf +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/authordb.yaml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/doxygen.tag.zip +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/doc/_static/package_alpha/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/doc/doxygen.conf.in +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/doc/manifest.yaml +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/doc/package.alpha/index.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/doc/package_alpha/index.rst +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/include/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_alpha/src/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/data/package_beta/doc/README.md +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/ext/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/packagemetadata_test.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/roots/test-autocppapi/conf.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/roots/test-autocppapi/doxygen.tag.zip +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/roots/test-autocppapi/index.rst +0 -0
- {documenteer-1.4.2/tests/ext/lssttasks → documenteer-2.0.0a2/tests/services}/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/services/technotemigration_test.py +0 -0
- {documenteer-1.4.2/tests/services → documenteer-2.0.0a2/tests/storage}/__init__.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/storage/authordb_test.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/tests/test_conf_utils.py +0 -0
- {documenteer-1.4.2 → documenteer-2.0.0a2}/webpack.config.js +0 -0
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
name: Periodic CI
|
|
6
6
|
|
|
7
|
+
env:
|
|
8
|
+
PYTHON_VERSION: "3.12"
|
|
9
|
+
|
|
7
10
|
"on":
|
|
8
11
|
schedule:
|
|
9
12
|
- cron: "0 12 * * 1"
|
|
@@ -19,6 +22,7 @@ jobs:
|
|
|
19
22
|
- "3.12"
|
|
20
23
|
sphinx-version:
|
|
21
24
|
- "7"
|
|
25
|
+
- "8"
|
|
22
26
|
- "dev"
|
|
23
27
|
|
|
24
28
|
steps:
|
|
@@ -64,7 +68,7 @@ jobs:
|
|
|
64
68
|
- name: Build docs in tox
|
|
65
69
|
uses: lsst-sqre/run-tox@v1
|
|
66
70
|
with:
|
|
67
|
-
python-version:
|
|
71
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
68
72
|
tox-envs: "docs,docs-lint"
|
|
69
73
|
use-cache: false
|
|
70
74
|
|
|
@@ -94,5 +98,5 @@ jobs:
|
|
|
94
98
|
- name: Build and publish
|
|
95
99
|
uses: lsst-sqre/build-and-publish-to-pypi@v2
|
|
96
100
|
with:
|
|
97
|
-
python-version:
|
|
101
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
98
102
|
upload: false
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
name: CI
|
|
2
2
|
|
|
3
|
+
env:
|
|
4
|
+
PYTHON_VERSION: '3.12' # Default Python version
|
|
5
|
+
|
|
3
6
|
'on':
|
|
4
7
|
push:
|
|
5
8
|
branches-ignore:
|
|
@@ -39,6 +42,7 @@ jobs:
|
|
|
39
42
|
- '3.12'
|
|
40
43
|
sphinx-version:
|
|
41
44
|
- '7'
|
|
45
|
+
- '8'
|
|
42
46
|
|
|
43
47
|
steps:
|
|
44
48
|
- uses: actions/checkout@v4
|
|
@@ -76,7 +80,7 @@ jobs:
|
|
|
76
80
|
runs-on: ubuntu-latest
|
|
77
81
|
|
|
78
82
|
steps:
|
|
79
|
-
- uses: actions/checkout@
|
|
83
|
+
- uses: actions/checkout@v4
|
|
80
84
|
with:
|
|
81
85
|
fetch-depth: 0 # full history for setuptools_scm
|
|
82
86
|
|
|
@@ -86,7 +90,7 @@ jobs:
|
|
|
86
90
|
- name: Run tox
|
|
87
91
|
uses: lsst-sqre/run-tox@v1
|
|
88
92
|
with:
|
|
89
|
-
python-version:
|
|
93
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
90
94
|
tox-envs: 'docs,docs-lint'
|
|
91
95
|
|
|
92
96
|
# Only attempt documentation uploads for tagged releases and pull
|
|
@@ -115,7 +119,7 @@ jobs:
|
|
|
115
119
|
- name: Build and publish
|
|
116
120
|
uses: lsst-sqre/build-and-publish-to-pypi@v2
|
|
117
121
|
with:
|
|
118
|
-
python-version:
|
|
122
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
119
123
|
upload: "false"
|
|
120
124
|
|
|
121
125
|
pypi-publish:
|
|
@@ -147,4 +151,4 @@ jobs:
|
|
|
147
151
|
- name: Build and publish
|
|
148
152
|
uses: lsst-sqre/build-and-publish-to-pypi@v2
|
|
149
153
|
with:
|
|
150
|
-
python-version:
|
|
154
|
+
python-version: ${{ env.PYTHON_VERSION }}
|
|
@@ -14,29 +14,19 @@ repos:
|
|
|
14
14
|
- id: rst-linter
|
|
15
15
|
files: (README\.rst)|(CHANGELOG\.rst)
|
|
16
16
|
|
|
17
|
-
- repo: https://github.com/
|
|
18
|
-
rev:
|
|
17
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
18
|
+
rev: v0.6.1
|
|
19
19
|
hooks:
|
|
20
|
-
- id:
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
- id: ruff
|
|
21
|
+
args: [--fix, --exit-non-zero-on-fix]
|
|
22
|
+
- id: ruff-format
|
|
23
23
|
|
|
24
|
-
- repo: https://github.com/
|
|
25
|
-
rev:
|
|
26
|
-
hooks:
|
|
27
|
-
- id: black
|
|
28
|
-
|
|
29
|
-
- repo: https://github.com/asottile/blacken-docs
|
|
30
|
-
rev: 1.16.0
|
|
24
|
+
- repo: https://github.com/adamchainz/blacken-docs
|
|
25
|
+
rev: 1.18.0
|
|
31
26
|
hooks:
|
|
32
27
|
- id: blacken-docs
|
|
33
|
-
additional_dependencies: [black==
|
|
34
|
-
args: [-l, '79', -t,
|
|
35
|
-
|
|
36
|
-
- repo: https://github.com/pycqa/flake8
|
|
37
|
-
rev: 7.0.0
|
|
38
|
-
hooks:
|
|
39
|
-
- id: flake8
|
|
28
|
+
additional_dependencies: [black==24.4.2]
|
|
29
|
+
args: [-l, '79', -t, py312]
|
|
40
30
|
|
|
41
31
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
42
32
|
rev: v4.0.0-alpha.8
|
|
@@ -2,20 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- scriv-insert-here -->
|
|
4
4
|
|
|
5
|
-
<a id='changelog-1.4.2'></a>
|
|
6
|
-
## 1.4.2 (2024-10-15)
|
|
7
|
-
|
|
8
|
-
### Bug fixes
|
|
9
|
-
|
|
10
|
-
- Bump `sphinxcontrib-mermaid` to >= 1, which fixes an incompatibility with sphinx==1.8.1, and allows us to unpin the version of mermaid JS.
|
|
11
|
-
|
|
12
|
-
<a id='changelog-1.4.1'></a>
|
|
13
|
-
## 1.4.1 (2024-10-10)
|
|
14
|
-
|
|
15
|
-
### Bug fixes
|
|
16
|
-
|
|
17
|
-
- Pin `sphinx` to < 8.1.0. [Sphinx 8.1.0](https://github.com/sphinx-doc/sphinx/compare/v8.0.2...v8.1.0) contains [a commit](https://github.com/sphinx-doc/sphinx/pull/12762/files#diff-a4c6bf1492ef480b94af82c988f64ca56fa256fab0ed043a5ad3d4043f89a645L14) that removes the `ExtensionError` export from the `sphinx.util` package. This currently breaks the [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) dependency.
|
|
18
|
-
|
|
19
5
|
<a id='changelog-1.4.0'></a>
|
|
20
6
|
## 1.4.0 (2024-07-11)
|
|
21
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: documenteer
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0a2
|
|
4
4
|
Summary: Rubin Observatory / LSST Sphinx documentation tools, extensions, and configurations.
|
|
5
5
|
License: The MIT License (MIT)
|
|
6
6
|
|
|
@@ -27,18 +27,20 @@ License: The MIT License (MIT)
|
|
|
27
27
|
Project-URL: Homepage, https://documenteer.lsst.io
|
|
28
28
|
Project-URL: Source, https://github.com/lsst-sqre/documenteer
|
|
29
29
|
Keywords: rubin,lsst
|
|
30
|
-
Classifier: Development Status ::
|
|
30
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
31
|
+
Classifier: Environment :: Console
|
|
32
|
+
Classifier: Framework :: Sphinx :: Extension
|
|
33
|
+
Classifier: Intended Audience :: Developers
|
|
31
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Natural Language :: English
|
|
36
|
+
Classifier: Operating System :: POSIX
|
|
32
37
|
Classifier: Programming Language :: Python
|
|
33
38
|
Classifier: Programming Language :: Python :: 3
|
|
34
39
|
Classifier: Programming Language :: Python :: 3.11
|
|
35
|
-
Classifier:
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
36
41
|
Classifier: Topic :: Documentation
|
|
37
42
|
Classifier: Topic :: Documentation :: Sphinx
|
|
38
|
-
Classifier:
|
|
39
|
-
Classifier: Environment :: Console
|
|
40
|
-
Classifier: Natural Language :: English
|
|
41
|
-
Classifier: Operating System :: POSIX
|
|
43
|
+
Classifier: Typing :: Typed
|
|
42
44
|
Requires-Python: >=3.11
|
|
43
45
|
Description-Content-Type: text/markdown
|
|
44
46
|
License-File: LICENSE
|
|
@@ -70,6 +72,7 @@ Requires-Dist: types-PyYAML; extra == "dev"
|
|
|
70
72
|
Requires-Dist: types-docutils; extra == "dev"
|
|
71
73
|
Requires-Dist: types-mock; extra == "dev"
|
|
72
74
|
Provides-Extra: guide
|
|
75
|
+
Requires-Dist: autodoc_pydantic; extra == "guide"
|
|
73
76
|
Requires-Dist: sphinx_design; extra == "guide"
|
|
74
77
|
Requires-Dist: pydata-sphinx-theme<0.13.0,>=0.10.0; extra == "guide"
|
|
75
78
|
Requires-Dist: sphinx-autodoc-typehints; extra == "guide"
|
|
@@ -80,29 +83,12 @@ Requires-Dist: sphinx-jinja>=2; extra == "guide"
|
|
|
80
83
|
Requires-Dist: myst-parser; extra == "guide"
|
|
81
84
|
Requires-Dist: myst-nb; extra == "guide"
|
|
82
85
|
Requires-Dist: markdown-it-py[linkify]; extra == "guide"
|
|
83
|
-
Requires-Dist: sphinxcontrib-mermaid
|
|
86
|
+
Requires-Dist: sphinxcontrib-mermaid; extra == "guide"
|
|
84
87
|
Requires-Dist: sphinxext-opengraph; extra == "guide"
|
|
85
88
|
Requires-Dist: sphinxcontrib-redoc; extra == "guide"
|
|
86
89
|
Requires-Dist: sphinxcontrib-jquery; extra == "guide"
|
|
87
90
|
Requires-Dist: sphinxext-rediraffe; extra == "guide"
|
|
88
91
|
Requires-Dist: sphinxcontrib-youtube; extra == "guide"
|
|
89
|
-
Provides-Extra: pipelines
|
|
90
|
-
Requires-Dist: sphinx_design; extra == "pipelines"
|
|
91
|
-
Requires-Dist: pydata-sphinx-theme<0.13.0,>=0.10.0; extra == "pipelines"
|
|
92
|
-
Requires-Dist: sphinx-autodoc-typehints; extra == "pipelines"
|
|
93
|
-
Requires-Dist: sphinx-automodapi; extra == "pipelines"
|
|
94
|
-
Requires-Dist: sphinx-copybutton; extra == "pipelines"
|
|
95
|
-
Requires-Dist: sphinx-prompt; extra == "pipelines"
|
|
96
|
-
Requires-Dist: sphinx-jinja>=2; extra == "pipelines"
|
|
97
|
-
Requires-Dist: myst-parser; extra == "pipelines"
|
|
98
|
-
Requires-Dist: markdown-it-py[linkify]; extra == "pipelines"
|
|
99
|
-
Requires-Dist: sphinxcontrib-mermaid; extra == "pipelines"
|
|
100
|
-
Requires-Dist: sphinxext-opengraph; extra == "pipelines"
|
|
101
|
-
Requires-Dist: sphinxcontrib-redoc; extra == "pipelines"
|
|
102
|
-
Requires-Dist: sphinxcontrib-jquery; extra == "pipelines"
|
|
103
|
-
Requires-Dist: sphinxcontrib-autoprogram; extra == "pipelines"
|
|
104
|
-
Requires-Dist: sphinxcontrib-doxylink; extra == "pipelines"
|
|
105
|
-
Requires-Dist: sphinx-click; extra == "pipelines"
|
|
106
92
|
Provides-Extra: technote
|
|
107
93
|
Requires-Dist: technote<0.10.0,>=0.9.0; extra == "technote"
|
|
108
94
|
Requires-Dist: sphinx-prompt; extra == "technote"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
### Backwards-incompatible changes
|
|
2
|
+
|
|
3
|
+
- All Science Pipelines-related tooling and Sphinx extensions have been removed from Documenteer, and can now be found in a new Science Pipelines package called `sphinxutils` (https://github.com/lsst-dm/sphinxutils). Specific removals include:
|
|
4
|
+
|
|
5
|
+
- `documenteer.stackdocs`
|
|
6
|
+
- Configurations `documenteer.conf.pipelines` and `documenteer.conf.pipelinespkg`
|
|
7
|
+
- CLI commands `stack-docs` and `package-docs`
|
|
8
|
+
- Sphinx extensions:
|
|
9
|
+
- `documenteer.ext.lssttasks`
|
|
10
|
+
- `documenteer.ext.packagetoctree`
|
|
11
|
+
- `documenteer.ext.autocppapi`
|
|
12
|
+
- `documenteer.ext.autodocreset`
|
|
13
|
+
|
|
14
|
+
### New features
|
|
15
|
+
|
|
16
|
+
- User guide configuration improvements:
|
|
17
|
+
|
|
18
|
+
- New custom automodapi templates for Pydantic BaseModels and exceptions. The exception template ensures that inherited members of exceptions are documented. The Pydantic BaseModel template ensures that inherited members from the `BaseModel` class itself are _not_ documented. These templates were originally developed as part of [Gafaelfawr](https://github.com/lsst-sqre/gafaelfawr). Now users of the user guide configuration benefit from these templates without any additional configuration.
|
|
19
|
+
|
|
20
|
+
- The `[guide]` installation extra and `documenteer.conf.guide` configuration now include `autodoc_pydantic` for improved documentation of Pydantic models in Python API references.
|
|
21
|
+
|
|
22
|
+
- The `documenteer.conf.guide` configuration now ignores common Sphinx warnings that are common when including references to projects that don't use Sphinx/Intersphinx for this documentation, including Pydantic and FastAPI.
|
|
23
|
+
|
|
24
|
+
- The entire `documenteer` code base is now type annotated.
|
|
25
|
+
|
|
26
|
+
### Bug fixes
|
|
27
|
+
|
|
28
|
+
-
|
|
29
|
+
|
|
30
|
+
### Other changes
|
|
31
|
+
|
|
32
|
+
- The code base is now linted and formatted with ruff.
|
|
33
|
+
- Start testing against Sphinx 8.
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
.. _TOML: https://toml.io/en/
|
|
28
28
|
.. _`SQR-006`: https://sqr-006.lsst.io
|
|
29
29
|
.. _`lsstDoxygen`: https://github.com/lsst/lsstDoxygen
|
|
30
|
-
.. _`package-docs`: https://documenteer.lsst.io/pipelines/package-docs-cli.html
|
|
31
30
|
.. _`pex_config`: https://github.com/lsst/pex_config
|
|
32
31
|
.. _`pipe_base`: https://github.com/lsst/pipe_base
|
|
33
32
|
.. _`pipe_supertask`: https://github.com/lsst/pipe_supertask
|
|
@@ -70,10 +69,6 @@
|
|
|
70
69
|
|
|
71
70
|
.. |documenteer.toml| replace:: :doc:`documenteer.toml </guides/toml-reference>`
|
|
72
71
|
.. |documenteer.conf.guide| replace:: :doc:`documenteer.conf.guide </guides/configuration-preset>`
|
|
73
|
-
.. |package-docs| replace:: :doc:`package-docs </guides/pipelines/package-docs-cli>`
|
|
74
|
-
.. |stack-docs| replace:: :doc:`stack-docs </guides/pipelines/stack-docs-cli>`
|
|
75
|
-
.. |stack-docs-build| replace:: :doc:`stack-docs build </guides/pipelines/stack-docs-cli>`
|
|
76
|
-
.. |stack-docs-clean| replace:: :doc:`stack-docs clean </guides/pipelines/stack-docs-cli>`
|
|
77
72
|
|
|
78
73
|
.. links to sphinx directives
|
|
79
74
|
|
|
@@ -2,20 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- scriv-insert-here -->
|
|
4
4
|
|
|
5
|
-
<a id='changelog-1.4.2'></a>
|
|
6
|
-
## 1.4.2 (2024-10-15)
|
|
7
|
-
|
|
8
|
-
### Bug fixes
|
|
9
|
-
|
|
10
|
-
- Bump `sphinxcontrib-mermaid` to >= 1, which fixes an incompatibility with sphinx==1.8.1, and allows us to unpin the version of mermaid JS.
|
|
11
|
-
|
|
12
|
-
<a id='changelog-1.4.1'></a>
|
|
13
|
-
## 1.4.1 (2024-10-10)
|
|
14
|
-
|
|
15
|
-
### Bug fixes
|
|
16
|
-
|
|
17
|
-
- Pin `sphinx` to < 8.1.0. [Sphinx 8.1.0](https://github.com/sphinx-doc/sphinx/compare/v8.0.2...v8.1.0) contains [a commit](https://github.com/sphinx-doc/sphinx/pull/12762/files#diff-a4c6bf1492ef480b94af82c988f64ca56fa256fab0ed043a5ad3d4043f89a645L14) that removes the `ExtensionError` export from the `sphinx.util` package. This currently breaks the [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid) dependency.
|
|
18
|
-
|
|
19
5
|
<a id='changelog-1.4.0'></a>
|
|
20
6
|
## 1.4.0 (2024-07-11)
|
|
21
7
|
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
documenteer.ext
|
|
3
3
|
###############
|
|
4
4
|
|
|
5
|
-
.. automodapi:: documenteer.ext.autocppapi
|
|
6
|
-
|
|
7
|
-
.. automodapi:: documenteer.ext.autodocreset
|
|
8
|
-
|
|
9
5
|
.. automodapi:: documenteer.ext.openapi
|
|
10
6
|
|
|
11
7
|
.. automodapi:: documenteer.ext.bibtex
|
|
@@ -20,6 +16,3 @@ documenteer.ext
|
|
|
20
16
|
|
|
21
17
|
.. automodapi:: documenteer.ext.mockcoderefs
|
|
22
18
|
:no-inheritance-diagram:
|
|
23
|
-
|
|
24
|
-
.. automodapi:: documenteer.ext.packagetoctree
|
|
25
|
-
:no-inheritance-diagram:
|
|
@@ -11,6 +11,7 @@ package = "documenteer"
|
|
|
11
11
|
extensions = [
|
|
12
12
|
"sphinx_click.ext",
|
|
13
13
|
"sphinxcontrib.autoprogram",
|
|
14
|
+
"sphinxcontrib.autodoc_pydantic"
|
|
14
15
|
]
|
|
15
16
|
disable_primary_sidebars = ["index", "changelog"]
|
|
16
17
|
rst_epilog_file = "_rst_epilog.rst"
|
|
@@ -25,7 +26,8 @@ nitpick_ignore_regex = [
|
|
|
25
26
|
]
|
|
26
27
|
python_api_dir = "dev/api/contents"
|
|
27
28
|
exclude = [
|
|
28
|
-
"technotes/_templates/*"
|
|
29
|
+
"technotes/_templates/*",
|
|
30
|
+
"_templates/**"
|
|
29
31
|
]
|
|
30
32
|
|
|
31
33
|
[sphinx.theme]
|
|
@@ -46,10 +48,10 @@ ignore = [
|
|
|
46
48
|
]
|
|
47
49
|
|
|
48
50
|
[sphinx.redirects]
|
|
49
|
-
"pipelines/build-overview.rst" = "guides/
|
|
50
|
-
"pipelines/configuration.rst" = "guides/
|
|
51
|
-
"pipelines/cpp-api-linking.rst" = "guides/
|
|
52
|
-
"pipelines/index.rst" = "guides/
|
|
53
|
-
"pipelines/install.rst" = "guides/
|
|
54
|
-
"pipelines/package-docs-cli.rst" = "guides/
|
|
55
|
-
"pipelines/stack-docs-cli.rst" = "guides/
|
|
51
|
+
"pipelines/build-overview.rst" = "guides/index.rst"
|
|
52
|
+
"pipelines/configuration.rst" = "guides/index.rst"
|
|
53
|
+
"pipelines/cpp-api-linking.rst" = "guides/index.rst"
|
|
54
|
+
"pipelines/index.rst" = "guides/index.rst"
|
|
55
|
+
"pipelines/install.rst" = "guides/index.rst"
|
|
56
|
+
"pipelines/package-docs-cli.rst" = "guides/index.rst"
|
|
57
|
+
"pipelines/stack-docs-cli.rst" = "guides/index.rst"
|
|
@@ -47,14 +47,6 @@ Documenteer provides a configuration profile for creating branded user guides wi
|
|
|
47
47
|
markdown-primer
|
|
48
48
|
including-notebooks
|
|
49
49
|
|
|
50
|
-
.. toctree::
|
|
51
|
-
:maxdepth: 2
|
|
52
|
-
:caption: Science Pipelines
|
|
53
|
-
:name: toc-guides-pipelines
|
|
54
|
-
:titlesonly:
|
|
55
|
-
|
|
56
|
-
pipelines/index
|
|
57
|
-
|
|
58
50
|
.. toctree::
|
|
59
51
|
:maxdepth: 2
|
|
60
52
|
:caption: Reference
|
|
@@ -23,7 +23,7 @@ These paths are relative to the documentation project's root directory (where :f
|
|
|
23
23
|
The table accepts an arbitrary number of redirects:
|
|
24
24
|
|
|
25
25
|
.. code-block:: toml
|
|
26
|
-
:
|
|
26
|
+
:caption: documenteer.toml
|
|
27
27
|
|
|
28
28
|
[sphinx.redirects]
|
|
29
29
|
"old-page.rst" = "some-dir/new-page.rst"
|
|
@@ -42,14 +42,6 @@ Installation
|
|
|
42
42
|
|
|
43
43
|
pip install "documenteer[technote]"
|
|
44
44
|
|
|
45
|
-
For :doc:`LSST Science Pipelines projects and other EUPS stacks </guides/pipelines/index>`:
|
|
46
|
-
|
|
47
|
-
.. code-block:: sh
|
|
48
|
-
|
|
49
|
-
pip install "documenteer[pipelines]"
|
|
50
|
-
|
|
51
|
-
See :doc:`/guides/pipelines/install` for more information.
|
|
52
|
-
|
|
53
45
|
.. tab-item:: conda
|
|
54
46
|
|
|
55
47
|
Documenteer is available from `conda-forge`_ for Conda_ users.
|
|
@@ -74,17 +66,11 @@ Installation
|
|
|
74
66
|
|
|
75
67
|
conda-install lsst-documenteer-technote
|
|
76
68
|
|
|
77
|
-
To install Documenteer for LSST Stack projects (such as https://pipelines.lsst.io and EUPS packages):
|
|
78
|
-
|
|
79
|
-
.. code-block:: sh
|
|
80
|
-
|
|
81
|
-
conda-install lsst-documenteer-pipelines
|
|
82
|
-
|
|
83
69
|
Project guides
|
|
84
70
|
==============
|
|
85
71
|
|
|
86
72
|
Documenteer provides centralized Sphinx configuration and support for Rubin Observatory documentation projects.
|
|
87
|
-
This section describes how to use Documenteer for specific types of projects, from single-page technical notes to user guides
|
|
73
|
+
This section describes how to use Documenteer for specific types of projects, from single-page technical notes to user guides.
|
|
88
74
|
|
|
89
75
|
.. toctree::
|
|
90
76
|
:maxdepth: 2
|
|
@@ -7,18 +7,20 @@ readme = "README.md"
|
|
|
7
7
|
keywords = ["rubin", "lsst"]
|
|
8
8
|
# https://pypi.org/classifiers/
|
|
9
9
|
classifiers = [
|
|
10
|
-
"Development Status ::
|
|
10
|
+
"Development Status :: 5 - Production/Stable",
|
|
11
|
+
"Environment :: Console",
|
|
12
|
+
"Framework :: Sphinx :: Extension",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
11
14
|
"License :: OSI Approved :: MIT License",
|
|
15
|
+
"Natural Language :: English",
|
|
16
|
+
"Operating System :: POSIX",
|
|
12
17
|
"Programming Language :: Python",
|
|
13
18
|
"Programming Language :: Python :: 3",
|
|
14
19
|
"Programming Language :: Python :: 3.11",
|
|
15
|
-
"
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
16
21
|
"Topic :: Documentation",
|
|
17
22
|
"Topic :: Documentation :: Sphinx",
|
|
18
|
-
"
|
|
19
|
-
"Environment :: Console",
|
|
20
|
-
"Natural Language :: English",
|
|
21
|
-
"Operating System :: POSIX",
|
|
23
|
+
"Typing :: Typed",
|
|
22
24
|
]
|
|
23
25
|
requires-python = ">=3.11"
|
|
24
26
|
dynamic = ["version"]
|
|
@@ -61,6 +63,7 @@ dev = [
|
|
|
61
63
|
]
|
|
62
64
|
guide = [
|
|
63
65
|
# Theme and extensions for Rubin user guide projects
|
|
66
|
+
"autodoc_pydantic",
|
|
64
67
|
"sphinx_design",
|
|
65
68
|
"pydata-sphinx-theme>=0.10.0,<0.13.0",
|
|
66
69
|
"sphinx-autodoc-typehints",
|
|
@@ -71,36 +74,13 @@ guide = [
|
|
|
71
74
|
"myst-parser",
|
|
72
75
|
"myst-nb",
|
|
73
76
|
"markdown-it-py[linkify]",
|
|
74
|
-
"sphinxcontrib-mermaid
|
|
77
|
+
"sphinxcontrib-mermaid",
|
|
75
78
|
"sphinxext-opengraph",
|
|
76
79
|
"sphinxcontrib-redoc",
|
|
77
80
|
"sphinxcontrib-jquery",
|
|
78
81
|
"sphinxext-rediraffe",
|
|
79
82
|
"sphinxcontrib-youtube"
|
|
80
83
|
]
|
|
81
|
-
pipelines = [
|
|
82
|
-
# Theme and extensions for pipelines.lsst.io
|
|
83
|
-
# Include all dependencies fof guide, and add additional dependencies
|
|
84
|
-
# specifically for pipelines.lsst.io
|
|
85
|
-
"sphinx_design",
|
|
86
|
-
"pydata-sphinx-theme>=0.10.0,<0.13.0",
|
|
87
|
-
"sphinx-autodoc-typehints",
|
|
88
|
-
"sphinx-automodapi",
|
|
89
|
-
"sphinx-copybutton",
|
|
90
|
-
"sphinx-prompt",
|
|
91
|
-
"sphinx-jinja>=2", # namespace changed in 2.0
|
|
92
|
-
"myst-parser",
|
|
93
|
-
"markdown-it-py[linkify]",
|
|
94
|
-
"sphinxcontrib-mermaid",
|
|
95
|
-
"sphinxext-opengraph",
|
|
96
|
-
"sphinxcontrib-redoc",
|
|
97
|
-
"sphinxcontrib-jquery",
|
|
98
|
-
|
|
99
|
-
# Additional extensions for Pipelines
|
|
100
|
-
"sphinxcontrib-autoprogram",
|
|
101
|
-
"sphinxcontrib-doxylink",
|
|
102
|
-
"sphinx-click",
|
|
103
|
-
]
|
|
104
84
|
technote = [
|
|
105
85
|
# Theme and extensions for technotes
|
|
106
86
|
"technote>=0.9.0,<0.10.0",
|
|
@@ -118,8 +98,6 @@ Source = "https://github.com/lsst-sqre/documenteer"
|
|
|
118
98
|
|
|
119
99
|
[project.scripts]
|
|
120
100
|
documenteer = "documenteer.cli:main"
|
|
121
|
-
stack-docs = "documenteer.stackdocs.stackcli:main"
|
|
122
|
-
package-docs = "documenteer.stackdocs.packagecli:main"
|
|
123
101
|
|
|
124
102
|
[build-system]
|
|
125
103
|
requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]>=6.2"]
|
|
@@ -128,6 +106,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
128
106
|
[tool.setuptools_scm]
|
|
129
107
|
|
|
130
108
|
[tool.black]
|
|
109
|
+
# Black configuration is maintained for blacken-docs
|
|
131
110
|
line-length = 79
|
|
132
111
|
target-version = ['py311']
|
|
133
112
|
exclude = '''
|
|
@@ -146,12 +125,6 @@ exclude = '''
|
|
|
146
125
|
# Use single-quoted strings so TOML treats the string like a Python r-string
|
|
147
126
|
# Multi-line strings are implicitly treated by black as regular expressions
|
|
148
127
|
|
|
149
|
-
[tool.isort]
|
|
150
|
-
profile = "black"
|
|
151
|
-
line_length = 79
|
|
152
|
-
known_first_party = "documenteer"
|
|
153
|
-
skip = ["docs/conf.py"]
|
|
154
|
-
|
|
155
128
|
[tool.coverage.run]
|
|
156
129
|
parallel = true
|
|
157
130
|
branch = true
|
|
@@ -181,10 +154,11 @@ norecursedirs = "node_modules"
|
|
|
181
154
|
python_files = ["tests/*.py", "tests/*/*.py"]
|
|
182
155
|
|
|
183
156
|
[tool.mypy]
|
|
184
|
-
|
|
185
|
-
disallow_untyped_defs = false
|
|
157
|
+
disallow_untyped_defs = true
|
|
186
158
|
disallow_incomplete_defs = true
|
|
187
159
|
ignore_missing_imports = true
|
|
160
|
+
local_partial_types = true
|
|
161
|
+
no_implicit_reexport = true
|
|
188
162
|
show_error_codes = true
|
|
189
163
|
strict_equality = true
|
|
190
164
|
warn_redundant_casts = true
|
|
@@ -192,6 +166,61 @@ warn_unreachable = true
|
|
|
192
166
|
warn_unused_ignores = true
|
|
193
167
|
plugins = ["pydantic.mypy"]
|
|
194
168
|
|
|
169
|
+
[tool.ruff]
|
|
170
|
+
extend = "ruff-shared.toml"
|
|
171
|
+
|
|
172
|
+
[tool.ruff.lint]
|
|
173
|
+
# Reference for settings: https://beta.ruff.rs/docs/settings/
|
|
174
|
+
# Reference for rules: https://beta.ruff.rs/docs/rules/
|
|
175
|
+
exclude = ["docs/**", "tests/roots/**", "demo/**"]
|
|
176
|
+
extend-ignore = [
|
|
177
|
+
"FIX001", # allow FIXMEs
|
|
178
|
+
"TD001", # relax formatting for TODOs
|
|
179
|
+
"TD002", # don't require authors for TODOs
|
|
180
|
+
"TD004", # don't require colons for TODOs
|
|
181
|
+
]
|
|
182
|
+
|
|
183
|
+
[tool.ruff.lint.extend-per-file-ignores]
|
|
184
|
+
"src/documenteer/services/technotemigration.py" = [
|
|
185
|
+
"T201", # This script can use print
|
|
186
|
+
]
|
|
187
|
+
"tests/**" = [
|
|
188
|
+
"D103", # tests don't need docstrings
|
|
189
|
+
"PLR0915", # tests are allowed to be long, sometimes that's convenient
|
|
190
|
+
"PT012", # way too aggressive about limiting pytest.raises blocks
|
|
191
|
+
"S101", # tests should use assert
|
|
192
|
+
"SLF001", # tests are allowed to access private members
|
|
193
|
+
"T201", # tests can print
|
|
194
|
+
# Temp rules for initial migration
|
|
195
|
+
"PGH003", # relax having blanket type ignores in tests
|
|
196
|
+
"ANN001",
|
|
197
|
+
"ANN201",
|
|
198
|
+
"ANN202",
|
|
199
|
+
"PT006",
|
|
200
|
+
"PT021",
|
|
201
|
+
]
|
|
202
|
+
"tests/roots/**" = [
|
|
203
|
+
"INP001", # These aren't importable packages
|
|
204
|
+
]
|
|
205
|
+
"src/documenteer/storage/localtemplates/**" = [
|
|
206
|
+
"S701",
|
|
207
|
+
"INP001",
|
|
208
|
+
"D100"
|
|
209
|
+
]
|
|
210
|
+
"src/documenteer/cli.py" = [
|
|
211
|
+
"T201", # CLI scripts can print
|
|
212
|
+
]
|
|
213
|
+
|
|
214
|
+
[tool.ruff.lint.isort]
|
|
215
|
+
known-first-party = ["documenteer", "tests"]
|
|
216
|
+
split-on-trailing-comma = false
|
|
217
|
+
|
|
218
|
+
[tool.ruff.lint.pep8-naming]
|
|
219
|
+
classmethod-decorators = [
|
|
220
|
+
"pydantic.root_validator", # for pydantic v1
|
|
221
|
+
"pydantic.validator", # for pydantic v1
|
|
222
|
+
]
|
|
223
|
+
|
|
195
224
|
[tool.scriv]
|
|
196
225
|
categories = [
|
|
197
226
|
"Backwards-incompatible changes",
|