Skip to content

Commit

Permalink
added python-doc.md back to .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Jan 29, 2024
1 parent e0c7ea5 commit 3dd509c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3,801 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Generate python docs
working-directory: ${{runner.workspace}}/fastsim/
run:
pydoc-markdown -I python/ -p fastsim --render-toc > docs/src/python-doc.md
pydoc-markdown -I python/ --render-toc > docs/src/python-doc.md

- name: Setup Pages
id: pages
Expand Down
3 changes: 2 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
book/
book/
src/python-doc.md
2 changes: 1 addition & 1 deletion docs/src/how-to-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Run the following in the repository root directory:
1. If any python files were modified,
1. Install [pipx](https://github.com/pypa/pipx#install-pipx)
1. Install [pydoc-markdown](https://niklasrosenstein.github.io/pydoc-markdown/#installation-)
1. run `pydoc-markdown -I python/ -p fastsim --render-toc > docs/src/python-doc.md`. Do not modify this file manually.
1. run `pydoc-markdown -I python/ --render-toc > docs/src/python-doc.md`. Do not modify this file manually.
1. Run `mdbook serve --open docs/`

## Publishing
Expand Down
Loading

0 comments on commit 3dd509c

Please sign in to comment.