Skip to content

Commit 7d6891c

Browse files
committed
📦📃 Add Read the Docs integration
1 parent ee4ec16 commit 7d6891c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Read the Docs configuration file for MkDocs projects
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
build:
7+
os: ubuntu-lts-latest
8+
tools:
9+
python: latest
10+
jobs:
11+
# see https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv
12+
pre_create_environment:
13+
- asdf plugin add uv
14+
- asdf install uv latest
15+
- asdf global uv latest
16+
create_environment:
17+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
18+
install:
19+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --only-group docs
20+
21+
mkdocs:
22+
configuration: mkdocs.yml
23+
fail_on_warning: true

0 commit comments

Comments
 (0)