feat: automated docgen #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generate md files | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| mkdoc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: '3.x' | |
| - name: install self | |
| run: | | |
| pip install . | |
| - name: build docs | |
| run: python docgen/main.py | |
| - name: debug | |
| run: | | |
| ls | |
| cd docs | |
| ls | |
| - name: push to new gh branch | |
| run: | | |
| git checkout -b automated_mkdocs | |
| git push --set-upstream origin automated_mkdocs |