Skip to content

fix: remove version from init #133

fix: remove version from init

fix: remove version from init #133

Workflow file for this run

name: "Sphinx-build docs"
on: push
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Set up Python version
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Build HTML with Sphinx
run: sphinx-build -b html docs/source/ docs/build/html/
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: docs/build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html