File tree Expand file tree Collapse file tree 2 files changed +30
-10
lines changed
Expand file tree Collapse file tree 2 files changed +30
-10
lines changed Original file line number Diff line number Diff line change @@ -409,13 +409,12 @@ jobs:
409409 # For the API doc, we need to use the local version of plotly
410410 # since we are tweaking the source because of
411411 # graph_objs/graph_objects
412+ uv pip uninstall plotly
413+ cd ..
414+ uv pip install -e .
415+ cd doc/apidoc
416+ make html
412417 if [ "${CIRCLE_BRANCH}" == "doc-prod" ]; then
413- uv pip uninstall plotly
414- cd ..
415- uv pip install -e .
416- cd doc
417- cd apidoc
418- make html
419418 cd _build/html
420419 touch .nojekyll
421420 git init
@@ -430,8 +429,11 @@ jobs:
430429 fi
431430
432431 - store_artifacts :
433- path : doc/build
434- destination : doc/build
432+ path : doc/build/html
433+ destination : doc-html
434+ - store_artifacts :
435+ path : doc/apidoc/_build/html
436+ destination : apidoc
435437
436438workflows :
437439 code_formatting :
Original file line number Diff line number Diff line change 5252 python front-matter-ci.py build/html
5353 python check-or-enforce-order.py build/html
5454
55- - name : Upload docs artifact
55+ - name : Upload HTML docs artifact
5656 uses : actions/upload-artifact@v4
5757 with :
58- name : doc-build
58+ name : doc-html
5959 path : doc/build/html/
60+
61+ - name : Build API docs
62+ run : |
63+ cd doc
64+ source .venv/bin/activate
65+ # For the API doc, we need to use the local version of plotly
66+ # since we are tweaking the source because of
67+ # graph_objs/graph_objects
68+ uv pip uninstall plotly
69+ uv pip install -e ..
70+ cd apidoc
71+ make html
72+
73+ - name : Upload API docs artifact
74+ uses : actions/upload-artifact@v4
75+ with :
76+ name : apidoc-build
77+ path : doc/apidoc/_build/html/
You can’t perform that action at this time.
0 commit comments