Skip to content

Commit

Permalink
docs - return dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatsic committed Sep 24, 2024
1 parent 8aab250 commit cbd0f88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ build:
python: "3.12"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- python -m pip install poetry
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
project = "aimm"
copyright = "2024, Zlatan Sičanica"
author = "Zlatan Sičanica"
version = "1.2.dev0"
version = importlib.metadata.version(project)

extensions = [
"sphinxcontrib.programoutput",
Expand Down

0 comments on commit cbd0f88

Please sign in to comment.