Skip to content

Commit

Permalink
chore(docs): initial docs generation with pdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithWittmann committed Oct 22, 2023
1 parent 558af93 commit 6609236
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 22 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/create-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ jobs:
run: |
python -m pip install --upgrade pip poetry flake8
poetry install
- name: Render docs
run: |
poetry run pdoc -d restructuredtext causy --output-directory docs
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build
publish_dir: docs/
57 changes: 36 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ mypy = "^1.5.1"
pyinstrument = "^4.5.3"
black = "^23.9.1"
numpy = "^1.26.0"
pdoc = "^14.1.0"


[build-system]
Expand Down

0 comments on commit 6609236

Please sign in to comment.