Skip to content

Commit

Permalink
Refactor docs, move serialization utils to .extras
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jul 19, 2022
1 parent 47875b0 commit fffe666
Show file tree
Hide file tree
Showing 35 changed files with 1,724 additions and 1,852 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: docs

on:
push:
branches: [master]

jobs:
docs:
runs-on: ubuntu-latest
container:
image: python:3.8
steps:

# Check out source
- uses: actions/checkout@v2

# Build documentation
- name: Building documentation
run: |
apt-get update
apt-get install -y graphviz
pip install -e ".[testing]"
pip install -r docs/requirements.txt
sphinx-build docs/source docs/build -b dirhtml
# Deploy
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
Loading

0 comments on commit fffe666

Please sign in to comment.