Skip to content

Commit

Permalink
RTD: install before doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
lowell80 committed Sep 27, 2023
1 parent ff1f1f8 commit a4c80ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ build:
tools:
python: "3.11"

jobs:
post_install:
- echo "Post-install"
- python -m pip install -U pip wheel setuptools
- python setup.py install



# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py
Expand Down
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
from ksconf import __author__ as author # noqa
from ksconf import __version__ as release # noqa

if release is None:
release = "0.0.0"

# The short X.Y version
version = ".".join(release.split(".")[:-1])
# The full version, including alpha/beta/rc tags
Expand Down

0 comments on commit a4c80ae

Please sign in to comment.