Dockerfile updated and related documentation #30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Sphinx documentation to Pages | |
| on: | |
| push: | |
| branches: | |
| - master # or master, the branch you push your source code to | |
| jobs: | |
| pages: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| pip install setuptools | |
| pip install sphinx sphinx-rtd-theme | |
| pip install pybtex pybtex-docutils | |
| pip install sphinxcontrib-bibtex | |
| # Add any other required dependencies here | |
| - name: Build HTML documentation | |
| run: | | |
| cd docs | |
| make html | |
| - name: Add .nojekyll file | |
| run: touch docs/build/html/.nojekyll | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: docs/build/html |