Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2796ee

Browse files
committed
zip apidoc to download it, print sphinx-build version
1 parent d5700cc commit c2796ee

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,15 +479,15 @@ jobs:
479479
rm -rf .git
480480
cd ../..
481481
fi
482-
482+
tar -zcf _build/api.tgz _build/html
483483
cd ../..
484484
485485
- store_artifacts:
486486
path: doc/build
487487
destination: doc/build
488488
- store_artifacts:
489-
path: doc/apidoc/_build/html
490-
destination: doc/apidoc/_build/html
489+
path: doc/apidoc/_build/
490+
destination: doc/apidoc/_build/
491491

492492
workflows:
493493
version: 2

doc/apidoc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ help:
1818
# For sphinx-apidoc the first positional path is the module to document
1919
# then all the other ones are paths to exclude for the doc generation
2020
%: Makefile
21+
sphinx-build --version
2122
sed -i 's/:class:`plotly.graph_objects/:class:`plotly.graph_objs/g' ../../packages/python/plotly/plotly/graph_objs/*.py
2223
sed -i 's/:class:`plotly.graph_objects/:class:`plotly.graph_objs/g' ../../packages/python/plotly/plotly/graph_objs/*/*.py
2324
sed -i 's/:class:`plotly.graph_objects/:class:`plotly.graph_objs/g' ../../packages/python/plotly/plotly/graph_objs/*/*/*.py

0 commit comments

Comments
 (0)