Skip to content

Commit 5c949b6

Browse files
authored
Merge pull request #27 from sandialabs/24-add-example-gallery-to-sphinx-docs
24 add example gallery to sphinx docs
2 parents 5de6c84 + 1081148 commit 5c949b6

37 files changed

+4570
-21
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Install dependencies
1818
run: |
19-
pip install sphinx sphinx_rtd_theme myst_parser sphinx-autoapi ipython
19+
pip install sphinx sphinx_rtd_theme myst_parser sphinx-autoapi ipython sphinx-gallery
2020
pip install .[dev]
2121
2222
- name: List files
@@ -45,3 +45,9 @@ jobs:
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
4646
publish_dir: docs/_build/html
4747
force_orphan: true
48+
49+
- name: Upload documentation artifact
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: sphinx-html
53+
path: docs/_build/html

docs/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ latexpdf-noplot:
3434

3535
clean:
3636
rm -rf $(BUILDDIR)/*
37-
rm -rf source/auto_examples/
38-
rm -rf source/auto_tutorials/
39-
rm -rf source/api/
37+
# rm -rf auto_examples/
38+
rm -rf auto_tutorials/
39+
rm -rf api/
30.2 KB
Binary file not shown.
23.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)