Skip to content

Commit 9379dab

Browse files
committed
refactor(template): remove pixi-specific Read the Docs setup
Drop conditional pixi installation, dependency sync, and build steps from the Read the Docs template so documentation builds follow the uv-only workflow and stay aligned with the current project automation.
1 parent bd91ef9 commit 9379dab

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

template/.readthedocs.yaml.jinja

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,18 @@ build:
1919

2020
# ref: <https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv>
2121
pre_create_environment:
22-
# %% if package_manager == "pixi":
23-
- asdf plugin add pixi
24-
- asdf install pixi latest
25-
- asdf global pixi latest
26-
# %% elif package_manager == "uv":
2722
- asdf plugin add uv
2823
- asdf install uv latest
2924
- asdf global uv latest
30-
# %% endif
3125

32-
# %% if package_manager == "uv":
3326
create_environment:
3427
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
35-
# %% endif
3628

3729
install:
38-
# %% if package_manager == "pixi":
39-
- pixi install --frozen
40-
# %% elif package_manager == "uv":
4130
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --all-packages --link-mode copy
42-
# %% endif
4331

4432
pre_build:
4533
- if test -f 'docs/scripts/pre-build.sh'; then bash 'docs/scripts/pre-build.sh'; fi
4634

47-
# %% if package_manager == "pixi":
48-
build:
49-
html:
50-
- pixi run mkdocs build --site-dir "$READTHEDOCS_OUTPUT/html/"
51-
# %% endif
52-
5335
mkdocs:
5436
configuration: mkdocs.yaml

0 commit comments

Comments
 (0)