File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed
Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ jobs:
557557 name : Build only this commit
558558 command : |
559559 BRANCH=$( echo $CIRCLE_BRANCH | sed 's+/+_+g' )
560- make -C docs SPHINXOPTS="-W" BUILDDIR="$HOME/docs" CURBRANCH =${CIRCLE_TAG:-$BRANCH} html
560+ make -C docs SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR =${CIRCLE_TAG:-$BRANCH} html
561561 - store_artifacts :
562562 path : ~/docs
563563
Original file line number Diff line number Diff line change 4343
4444 - name : Build docs
4545 run : |
46- make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" CURBRANCH ="${CURBRANCH:-html}" html
46+ make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR ="${CURBRANCH:-html}" html
Original file line number Diff line number Diff line change 4646
4747 - name : Build docs
4848 run : |
49- make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" CURBRANCH ="${CURBRANCH:-html}" html
49+ make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR ="${CURBRANCH:-html}" html
5050
5151 - name : Push created tag to gh-pages
5252 if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ SPHINXOPTS =
66SPHINXBUILD = sphinx-build
77PAPER =
88BUILDDIR = _build
9- CURBRANCH = master
9+ OUTDIR = html
1010PYTHONPATH = $(PWD )
1111
1212# User-friendly check for sphinx-build
@@ -57,9 +57,9 @@ docs-coverage:
5757 PYTHONPATH=$(PYTHONPATH ) $(SPHINXBUILD ) -b coverage $(ALLSPHINXOPTS ) $(BUILDDIR ) /coverage
5858
5959html :
60- PYTHONPATH=$(PYTHONPATH ) $(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /$(CURBRANCH )
60+ PYTHONPATH=$(PYTHONPATH ) $(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /$(OUTDIR )
6161 @echo
62- @echo " Build finished. The HTML pages are in $( BUILDDIR) /$( CURBRANCH ) ."
62+ @echo " Build finished. The HTML pages are in $( BUILDDIR) /$( OUTDIR ) ."
6363
6464dirhtml :
6565 $(SPHINXBUILD ) -b dirhtml $(ALLSPHINXOPTS ) $(BUILDDIR ) /dirhtml
@@ -182,6 +182,3 @@ pseudoxml:
182182 $(SPHINXBUILD ) -b pseudoxml $(ALLSPHINXOPTS ) $(BUILDDIR ) /pseudoxml
183183 @echo
184184 @echo " Build finished. The pseudo-XML files are in $( BUILDDIR) /pseudoxml."
185-
186- versioned :
187- PYTHONPATH=$(PYTHONPATH ) sphinx-versioning -vv -l ./docs/conf.py build -r $(CURBRANCH ) ./docs/ docs/$(BUILDDIR ) /html/
You can’t perform that action at this time.
0 commit comments