Skip to content

Commit 0b36f79

Browse files
authored
fix(ci): rtd config (#579)
Properly install environment.
1 parent d44299a commit 0b36f79

File tree

3 files changed

+2831
-1600
lines changed

3 files changed

+2831
-1600
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ build:
77
- libpango1.0-dev
88
- ffmpeg
99
jobs:
10-
post_create_environment:
10+
pre_create_environment:
1111
- asdf plugin add uv
1212
- asdf install uv latest
1313
- asdf global uv latest
14-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group docs --no-dev --no-cache
14+
create_environment:
15+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
16+
install:
17+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
1518
sphinx:
1619
builder: html
1720
configuration: docs/source/conf.py

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ docs = [
1616
"myst-parser>=2.0.0",
1717
"nbsphinx>=0.9.2",
1818
"pandoc>=2.3",
19-
"pygments<2.19", # See: https://github.com/ManimCommunity/manim/issues/4104
2019
"sphinx>=7.0.1",
2120
"sphinxcontrib-programoutput>=0.18",
2221
"sphinx-design>=0.6.1",

0 commit comments

Comments
 (0)