generate the docs

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2021-12-15 01:23:59 -08:00
parent 10b2aa4f2a
commit 7c964a3d05
2 changed files with 45 additions and 0 deletions

45
.github/workflows/generate-docs.yml vendored Normal file
View File

@ -0,0 +1,45 @@
name: generate docs
permissions:
contents: write
on:
push:
branches: main
paths:
- '**.py'
- .github/workflows/generate-docs.yml
pull_request:
paths:
- '**.py'
- .github/workflows/generate-docs.yml
jobs:
generate-docs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Installation instructions are from: https://python-poetry.org/docs/
- name: Install dependencies
shell: bash
run: |
pip install \
poetry
- name: Build
shell: bash
run: |
poetry build
- name: Generate the docs
shell: bash
run: |
pydoc -w kittycad

BIN
kittycad/__init__.pyc Normal file

Binary file not shown.