File tree Expand file tree Collapse file tree 1 file changed +21
-37
lines changed
Expand file tree Collapse file tree 1 file changed +21
-37
lines changed Original file line number Diff line number Diff line change 1- name : Generate Documentation
2-
3- # Disabled workflow for Generate Documentation
4-
5- # on:
6- # push:
7- # branches:
8- # - main
9-
10- # jobs:
11- # generate-docs:
12- # runs-on: ubuntu-latest
13-
14- # steps:
15- # - name: Checkout code
16- # uses: actions/checkout@v3
17- # with:
18- # fetch-depth: 0
19-
20- # - name: Debug root directory
21- # run: ls -R
22-
23- # - name: Debug docs directory
24- # run: ls docs || echo "docs/ directory not found"
25-
26- # - name: Set up Python
27- # uses: actions/setup-python@v4
28- # with:
29- # python-version: 3.10
30-
31- # - name: Install Sphinx
32- # run: |
33- # python -m pip install --upgrade pip
34- # pip install sphinx sphinx-rtd-theme
35-
36- # - name: Build Documentation
37- # run: sphinx-build -b html docs/ build/
1+ name : Generate Docs
2+
3+ on :
4+ push :
5+ branches : ['**']
6+ schedule :
7+ - cron : ' 0 3 * * 1' # every Monday 03:00 UTC
8+
9+ jobs :
10+ docs :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - run : |
15+ pip install -r docs/requirements.txt
16+ make -C docs html
17+ - name : Publish to GitHub Pages
18+ uses : peaceiris/actions-gh-pages@v3
19+ with :
20+ publish_dir : docs/_build/html
21+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments