File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed
Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ jobs:
6161 # ref: main
6262 ref : stes/add-xcebra
6363
64- - name : Set up Python ${{ matrix.python-version }}
64+ - name : Set up Python 3.10
6565 uses : actions/setup-python@v5
6666 with :
67- python-version : ${{ matrix.python-version }}
67+ python-version : 3.10
6868
6969 - name : Install package
7070 run : |
Original file line number Diff line number Diff line change 33
44# You can set these variables from the command line, and also
55# from the environment for the first two.
6- SPHINXOPTS ?=
7- SPHINXBUILD ?= sphinx-autobuild
6+ SPHINXOPTS ?= -W --keep-going -n
7+ SPHINXBUILD ?= sphinx-build
88SOURCEDIR = source
99BUILDDIR = build
10- PORT ?= 8000
11- HOST ?= 127.0.0.1
1210
1311# Put it first so that "make" without argument is like "make help".
1412help :
1816
1917# Build the API documentation using sphinx
2018html :
21- PYTHONPATH=.. $(SPHINXBUILD ) --port $( PORT ) --host $( HOST ) - M html " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
19+ PYTHONPATH=.. $(SPHINXBUILD ) -M html " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
2220
2321# Build multiple versions
2422html_versions :
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ docker run -u $(id -u):$(id -g) \
1111 -v /tmp/.cache/fontconfig:/.cache/fontconfig \
1212 -e MPLCONFIGDIR=/tmp/.cache/matplotlib \
1313 -w /app \
14- --env HOST=0.0.0.0 \
15- --env PORT= 8000 \
14+ --env SPHINXBUILD= " sphinx-autobuild " \
15+ --env SPHINXOPTS= " -W --keep-going -n --port 8000 --host 0.0.0.0 " \
1616 -it cebra-docs \
1717 make docs
You can’t perform that action at this time.
0 commit comments