Skip to content

Atualiza documentação #3

Atualiza documentação

Atualiza documentação #3

Workflow file for this run

name: CD
on:
push:
branches:
- master
jobs:
docs:
name: Deploy API Documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.8.18
uses: actions/setup-python@v4
with:
python-version: "3.8.18"
- name: Install dependencies
run: |
pip install .
pip install sphinx
sphinx-build --version
- name: Build API documentation
run: |
sphinx-apidoc -o docs .
cd docs
- name: Make HTML files
run: |
cd docs
make html
- name: Deploy API documentation
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: docs/_build/html