File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,20 @@ version: 2
99
1010build :
1111
12- os : " ubuntu-24.04"
12+ os : ubuntu-24.04
1313
1414 tools :
1515
1616 python : " 3.12"
1717
18- commands :
19-
20- - pip install uv
21- - cd docs
22- - uv run make html
23- - cd ..
18+ jobs :
19+ create_environment :
20+ - pip install uv
21+ - uv sync
22+
23+ build :
24+ html :
25+ - make -C docs/source html BUILDDIR=$READTHEDOCS_OUTPUT
2426
2527# Build documentation in the "docs/" directory with Sphinx
2628
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ BUILDDIR = build
1010
1111# Put it first so that "make" without argument is like "make help".
1212help :
13- @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
13+ @uv run $(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
1414
1515.PHONY : help Makefile
1616
1717# Catch-all target: route all unknown targets to Sphinx using the new
1818# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919% : Makefile
20- @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
20+ @uv run $(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
You can’t perform that action at this time.
0 commit comments