File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Sources/source/interfacing_with_c Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : documentation
2+
3+ on : [push, pull_request, workflow_dispatch]
4+
5+ permissions :
6+ contents : write
7+
8+ jobs :
9+ docs :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-python@v5
14+ - name : Install dependencies
15+ run : |
16+ pip install -r Sources/requirements.txt
17+ - name : Sphinx build
18+ run : |
19+ make html
20+ # sphinx-build doc _build
21+ - name : Deploy to GitHub Pages
22+ uses : peaceiris/actions-gh-pages@v3
23+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
24+ with :
25+ publish_branch : gh-pages
26+ github_token : ${{ secrets.GITHUB_TOKEN }}
27+ publish_dir : Sources/build/html
28+ force_orphan : true
29+
Original file line number Diff line number Diff line change 1+ Interfacing with Compiled Code
2+ ==============================
3+
4+ Topics:
5+ -------
6+
7+ .. toctree ::
8+ :maxdepth: 1
9+
10+ c_python.rst
11+ fortran_python.rst
You can’t perform that action at this time.
0 commit comments