Skip to content

Update 3_numerical.rst #75

Update 3_numerical.rst

Update 3_numerical.rst #75

Workflow file for this run

name: Deploy Sphinx Docs to GitHub Pages
on:
push:
branches: [ main ]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install Sphinx sphinx_rtd_theme
- name: Build HTML
run: sphinx-build -b html source build/html
- name: Clean up nested Git metadata
run: |
find build/html -type d -name .git -prune -exec rm -rf {} +
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: build/html