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:
parent
0a85e60b51
commit
c07a9ed19f
8 changed files with 608 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue