File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
2626
2727 - name : Build Sphinx documentation
2828 run : |
29- # Navigates into the documentation source directory
30- cd python/src/sphinx_docs
31- python -m sphinx -b html . _build
32-
29+ # Use the full relative path from the repository root to avoid 'cd' issues
30+ python -m sphinx -b html ./python/src/sphinx_docs ./python/src/sphinx_docs/_build
31+
3332 - name : Deploy to GitHub Pages
3433 uses : peaceiris/actions-gh-pages@v3
3534 with :
3635 github_token : ${{ secrets.GITHUB_TOKEN }}
37- publish_dir : ./python/src/sphinx_docs/_build/html # Path to your built HTML
36+ # THIS IS THE CRITICAL LINE
37+ publish_dir : ./python/src/sphinx_docs/_build/html
3838 publish_branch : gh-pages
3939 enable_jekyll : false
You can’t perform that action at this time.
0 commit comments