Skip to content

Commit f2a1182

Browse files
committed
Deploy to specific path to match Readthedocs config
1 parent 08f5fc5 commit f2a1182

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
python-version: '3.13'
2121
- run: pip install sphinx sphinx_rtd_theme
22-
- run: make html
22+
- run: make gh-pages
2323
- name: Upload artifact
2424
uses: actions/upload-pages-artifact@v3
2525
with:

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ help:
1616
livehtml:
1717
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(SOURCEDIR) $(BUILDDIR)/html
1818

19+
gh-pages:
20+
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" $(BUILDDIR)/html/en/latest $(SPHINXOPTS)
1921
# Catch-all target: route all unknown targets to Sphinx using the new
2022
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
2123
%: Makefile

0 commit comments

Comments
 (0)