Skip to content

Commit

Permalink
Udpated doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
vegama committed May 21, 2024
1 parent 9c2d562 commit 349648e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import toml

with open("pyproject.toml") as f:
config = toml.load(f)

version = config["project"]["version"]

__version__ = version

0 comments on commit 349648e

Please sign in to comment.