File tree Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Expand file tree Collapse file tree 1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -316,13 +316,13 @@ jobs:
316
316
name : Install deps
317
317
command : |
318
318
pip install --no-cache-dir -r docs/requirements.txt
319
- pip install --no-cache-dir "setuptools ~= 42.0" " setuptools_scm[toml] >= 3.4 "
320
- python setup.py --version
319
+ pip install --no-cache-dir "setuptools_scm[toml]"
320
+ python -m setuptools_scm
321
321
- run :
322
322
name : Build only this commit
323
- command : make -C docs SPHINXOPTS="-W" BUILDDIR="_build/no_version_html" html
323
+ command : make -C docs SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR=no_version_html html
324
324
- store_artifacts :
325
- path : ./docs/_build/no_version_html/html
325
+ path : /home/circleci/docs/no_version_html
326
326
destination : noversion
327
327
- run :
328
328
name : Stop or generate versioned docs?
@@ -347,7 +347,9 @@ jobs:
347
347
- ./docs/_build
348
348
- run :
349
349
name : Generate Versioned Docs
350
- command : make -f ./docs/Makefile versioned CURBRANCH=${CIRCLE_TAG:-$CIRCLE_BRANCH}
350
+ command : |
351
+ BRANCH=$( echo $CIRCLE_BRANCH | sed 's+/+_+g' )
352
+ make -C docs SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR=${CIRCLE_TAG:-$BRANCH} html
351
353
- save_cache :
352
354
key : docs-v2-{{ .Branch }}-{{ .Revision }}
353
355
paths :
@@ -458,9 +460,6 @@ jobs:
458
460
deploy_docs_tag :
459
461
<< : *docs
460
462
461
- deploy_docs_master :
462
- << : *docs
463
-
464
463
workflows :
465
464
version : 2
466
465
build_deploy :
@@ -520,17 +519,6 @@ workflows:
520
519
tags :
521
520
only : /.*/
522
521
523
- - deploy_docs_master :
524
- requires :
525
- - build_n_pytest
526
- - test_package
527
- - build_docs
528
- filters :
529
- branches :
530
- only : /master/
531
- tags :
532
- ignore : /.*/
533
-
534
522
- deploy_docs_tag :
535
523
requires :
536
524
- deploy_docker
You can’t perform that action at this time.
0 commit comments