Skip to content

reformating multidimentsional comment on readme #168

reformating multidimentsional comment on readme

reformating multidimentsional comment on readme #168

name: Documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip
- name: Install dependencies
run: |
pip install sphinx
- name: Install netin
run: |
pip install ./
- name: Sphinx build
run: |
sphinx-build docs/source/ docs/build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
publish_branch: documentation
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html/