Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ build:
os: ubuntu-24.04
tools:
python: "3.12"
jobs:
post_checkout:
# ensure that a tagged version is fetched
- git fetch --unshallow || true
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true
- git fetch --all --tags || true
pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync

sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- dev
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import re

# scheil must be importable to build API documentation and for version retreiva
sys.path.insert(0, os.path.abspath('../scheil'))
from scheil import __version__ as scheil_version
# Remove the local version date from the end if there is one
scheil_version = re.sub('\\.d[0-9]{8}', '', scheil_version)
Expand Down