Merge pull request #96 from D-o-d-o-x/better_versioning

Better Versioning
This commit is contained in:
Onur
2024-03-15 16:42:20 +01:00
committed by GitHub
6 changed files with 81 additions and 41 deletions
+7 -3
View File
@@ -1,13 +1,17 @@
# This conf.py is in large parts inspired by the oen used by stable-baselines 3
import toml
import datetime
project = 'Fancy Gym'
author = 'Fabian Otto, Onur Celik, Dominik Roth, Hongyi Zhou'
copyright = f'2020-{datetime.date.today().year}, {author}'
release = '0.2' # The full version, including alpha/beta/rc tags
version = '0.2' # The short X.Y version
pyproject_content = toml.load("../../pyproject.toml")
proj_version = pyproject_content["project"]["version"]
release = proj_version # The full version, including alpha/beta/rc tags
version = proj_version # The short X.Y version
extensions = [
'myst_parser',
@@ -50,4 +54,4 @@ html_context = {
}
def setup(app):
app.add_css_file("style.css")
app.add_css_file("style.css")