Skip to content

Commit 6f47ebe

Browse files
committed
feat: test for build
1 parent d26eb22 commit 6f47ebe

85 files changed

Lines changed: 8546 additions & 1 deletion

Some content is hidden

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

.github/workflows/gh-pages.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy Sphinx to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build-and-deploy:
13+
runs-on: ubuntu-20.04
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: 3.9
22+
23+
- name: Install sphinx dependencies
24+
run: |
25+
pip install -r requirements.txt
26+
27+
- name: Build Sphinx
28+
run: |
29+
cd docs/sphinx
30+
make clean
31+
make html
32+
33+
- name: Deploy to GitHub Pages
34+
uses: peaceiris/actions-gh-pages@v3
35+
if: ${{ github.ref == 'refs/heads/main' }}
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: ./docs/sphinx/build/html
39+
keep_files: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.vscode
33

44
# ignore build
5-
build
5+
sphinx/build
66

77
# npm modules
88
node_modules
File renamed without changes.
16.2 KB
Binary file not shown.
38.8 KB
Binary file not shown.
27.2 KB
Binary file not shown.
4.94 KB
Binary file not shown.

docs/sphinx/build/html/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 4f7cba3b8c4c103b9eb4d518aa208e4d
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/sphinx/build/html/Manual/data.html

Lines changed: 416 additions & 0 deletions
Large diffs are not rendered by default.

docs/sphinx/build/html/Manual/part1/test.html

Lines changed: 447 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)