Skip to content

Commit 4cc5afa

Browse files
authored
Merge pull request #567 from ModECI/fix/readthedocs
ReadTheDocs fixes
2 parents 337e360 + a56f141 commit 4cc5afa

2 files changed

Lines changed: 15 additions & 14 deletions

File tree

.readthedocs.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
# .readthedocs.yml
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5-
# Required
61
version: 2
72

8-
# Build documentation in the docs/ directory with Sphinx
93
sphinx:
10-
configuration: docs/sphinx/source/conf.py
4+
configuration: docs/sphinx/source/conf.py
5+
6+
build:
7+
os: ubuntu-24.04
8+
tools:
9+
python: "3.13"
10+
jobs:
11+
pre_create_environment:
12+
- asdf plugin add uv
13+
- asdf install uv latest
14+
- asdf global uv latest
15+
create_environment:
16+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
17+
install:
18+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --group docs
1119

12-
# Just generate htmlzip version, as pdf failing due to inclusion of svg files (in badges)
1320
formats:
1421
- htmlzip
1522

16-
python:
17-
install:
18-
- requirements: docs/sphinx/requirements.txt
19-
2023
submodules:
2124
exclude: all

docs/sphinx/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)