Skip to content

Commit 126d8f9

Browse files
authored
Add branch checkout command to Read the Docs config
1 parent 18d32c0 commit 126d8f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ build:
1111
- git fetch --unshallow || true
1212
- git fetch --all --tags || true
1313
- if [ "${READTHEDOCS_VERSION_TYPE}" = "tag" ]; then git checkout ${READTHEDOCS_GIT_IDENTIFIER}; fi
14+
- if [ "${READTHEDOCS_VERSION_TYPE}" = "branch" ]; then git checkout ${READTHEDOCS_GIT_IDENTIFIER}; fi
1415
- pip install uv
1516
- uv sync --extra docs
1617
- uv run sphinx-build -b html docs $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)