Skip to content

Commit 6a384cf

Browse files
committed
remove _build folder and update workflow file
1 parent 29cb81f commit 6a384cf

34 files changed

+31
-5094
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build and Deploy documentation
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build-and-deploy:
12+
if: github.event.pull_request.merged == true
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-python@v5
19+
- name: Install dependencies
20+
run: pip install sphinx sphinx_rtd_theme myst_parser
21+
22+
- name: Build Docs
23+
run: |
24+
sphinx-build -b html . _build/html
25+
26+
- name: Deploy to GitHub Pages
27+
uses: peaceiris/actions-gh-pages@v7
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: _build/html

.github/workflows/documentation.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_build/

_build/doctrees/environment.pickle

-12.7 KB
Binary file not shown.

_build/doctrees/index.doctree

-4.35 KB
Binary file not shown.

_build/html/.buildinfo

Lines changed: 0 additions & 4 deletions
This file was deleted.

_build/html/_sources/index.rst.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)