Set up a documentation tool

- use sphinx to document the developed package
- create nox session "docs" to build the docs
This commit is contained in:
Alexander Hess 2024-09-10 02:09:09 +02:00
commit c07a9ed19f
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
8 changed files with 608 additions and 2 deletions

View file

@ -13,10 +13,12 @@ try:
pkg_info = metadata.metadata(__name__)
except metadata.PackageNotFoundError:
__author__ = "unknown"
__pkg_name__ = "unknown"
__version__ = "unknown"
else:
__author__ = pkg_info["author"]
__pkg_name__ = pkg_info["name"]
__version__ = pkg_info["version"]
del pkg_info