Skip to content

Commit eb6e300

Browse files
committed
ci: simplify pixi commands in ReadTheDocs config
Removes explicit environment specification from pixi install/run commands as it's no longer needed with the latest pixi version
1 parent c070811 commit eb6e300

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

template/.readthedocs.yaml.jinja

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- mode: yaml; -*-
12
# yaml-language-server: $schema=https://raw.githubusercontent.com/readthedocs/readthedocs.org/master/readthedocs/rtd_tests/fixtures/spec/v2/schema.json
23
# This file is @generated by <https://github.com/liblaf/copier-python>.
34
# DO NOT EDIT!
@@ -33,7 +34,7 @@ build:
3334

3435
install:
3536
# {%- if package_manager == "pixi" %}
36-
- pixi install --environment "docs"
37+
- pixi install
3738
# {%- elif package_manager == "uv" %}
3839
- UV_PROJECT_ENVIRONMENT="$READTHEDOCS_VIRTUALENV_PATH" uv sync --all-extras --all-groups --link-mode copy
3940
# {%- endif %}
@@ -44,7 +45,7 @@ build:
4445
# {%- if package_manager == "pixi" %}
4546
build:
4647
html:
47-
- pixi run --environment "docs" mkdocs build --site-dir "$READTHEDOCS_OUTPUT/html/"
48+
- pixi run mkdocs build --site-dir "$READTHEDOCS_OUTPUT/html/"
4849
# {%- endif %}
4950

5051
mkdocs:

0 commit comments

Comments
 (0)