Release checklist¶
Documentation¶
Order
__all__list and objects in modules where it is reasonable.Expecially
constants,debug,downloader.stats,enums,options.In
exceptionsmodule,FilingsAPIError,FilingsAPIWarningshould come first, then all exceptions ordered and then warnings ordered.
Make sure package root
__init__module is up-to-date.Routine listings of objects match imported objects.
Listing short summaries match the ones in docstrings of objects.
Order of listings follows the one in
docs/source/api-reference.rst.
Delete folders
docs/source/ref,docs/source/dev/ref, anddocs/build.Check external link integrity (in project shell/project folder):
hatch run doc:linkcheckDo not care about URIs such as role URI example:
http://www.example.com/esef/taxonomy/2022-12-31/FinancialPositionConsolidated
Go through narrative documentation so that functions and methods work as documented.
Update
xbrl_filings_api/__about__.py::__version__andconf.py::release.
Final steps¶
Commit and push last changes to the release. Wait for GitHub Actions to run and check results.
Create an annotated
gittag for the release:git tag -a v<release> -m "Release description."
Push the tag:
git push origin tag v<release>
Remove the
distfolder, if it exists.Build the sdist and wheel:
hatch buildCheck the contents of both archives.
Publish to PyPI.
hatch publish -u __token__ -a pypi-<restofapitoken>