Skip to content

Commit ce0628f

Browse files
committed
feat: setup build
1 parent e991ee7 commit ce0628f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+48
-5272
lines changed

.github/workflows/deploy.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main", "workflow_dispatch"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: setup sphinx
35+
run: |
36+
pip install sphinx sphinx_rtd_theme myst_parser
37+
- name: build docs
38+
run: |
39+
sphinx-build -d html . gh-pages
40+
- name: Setup Pages
41+
uses: actions/configure-pages@v5
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
44+
with:
45+
path: './gh-pages'
46+
- name: Deploy to GitHub Pages
47+
id: deployment
48+
uses: actions/deploy-pages@v4

gh-pages/.buildinfo

Lines changed: 0 additions & 4 deletions
This file was deleted.
-13.2 KB
Binary file not shown.

gh-pages/.doctrees/index.doctree

-2.9 KB
Binary file not shown.

gh-pages/_sources/index.rst.txt

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

gh-pages/_static/_sphinx_javascript_frameworks_compat.js

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

0 commit comments

Comments
 (0)