Skip to content

Commit

Permalink
Merge pull request #81 from FNBBDevs/dev
Browse files Browse the repository at this point in the history
fix documentation
  • Loading branch information
ethanlchristensen authored Nov 3, 2024
2 parents bc1b053 + c6bb935 commit b602b5c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
echo "import sys" >> conf.py
echo "sys.path.insert(0, os.path.abspath('..'))" >> conf.py
echo "html_theme = 'sphinx_rtd_theme'" >> conf.py
echo "extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon']"
if [ ! -f "index.rst" ]; then
echo "bruhanimate documentation" > index.rst
Expand All @@ -55,6 +56,10 @@ jobs:
fi
fi
- name: Generate .rst files with sphinx-apidoc
run: |
sphinx-apidoc -o docs/ project-folder/
- name: Generate Documentation
run: |
cd docs
Expand All @@ -65,4 +70,4 @@ jobs:
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
publish_dir: ./docs/build/html

0 comments on commit b602b5c

Please sign in to comment.