Skip to content

new consensus structure and torch support #43

new consensus structure and torch support

new consensus structure and torch support #43

Workflow file for this run

name: Docs
on:
workflow_dispatch:
push:
paths:
- docs/**
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
sudo apt-get install pandoc
pip install sphinx sphinx_rtd_theme
pip install sphinx_design
pip install nbsphinx
pip install pydata-sphinx-theme
pip install -r requirements.txt
- name: Sphinx build
run: |
sphinx-build docs _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true