Skip to content

Commit

Permalink
将网页构建分离出源代码分支
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Jan 29, 2024
1 parent eace6f6 commit aaaa56a
Show file tree
Hide file tree
Showing 304 changed files with 16 additions and 22,148 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,33 @@ jobs:
with:
python-version: "3.11"

- name: Checkout
- name: Checkout sources
uses: actions/[email protected]
with:
path: main
fetch-depth: 0

- name: Checkout docs
uses: actions/[email protected]
with:
ref: docs
path: docs

- name: Install sphinx
shell: bash
working-directory: docs
run: |
pip install -U sphinx
pip install -r requirements.txt
pip install -r main/docs/requirements.txt
- name: Build docs
shell: bash
working-directory: docs
run: |
rm -rf build
sphinx-build source build
rm -rf docs/build
sphinx-build main/docs docs/build
- name: Commit changes
uses: EndBug/[email protected]
with:
cwd: docs
default_author: github_actions
message: "[bot] Build gitee pages"

Expand All @@ -65,5 +70,5 @@ jobs:
gitee-username: FeignClaims
gitee-password: ${{ secrets.GITEE_PASSWORD }}
gitee-repo: cpp_tutorial/vscode_cpp_starter
branch: main
directory: docs/build/
branch: docs
directory: build
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Build directories and binary files
/build/
_build/
build/
out/
cmake-build-*/
conan-cache/
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions docs/build/.buildinfo

This file was deleted.

Binary file removed docs/build/.doctrees/appendix/about_warnings.doctree
Binary file not shown.
Binary file not shown.
Binary file removed docs/build/.doctrees/appendix/explain.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/appendix/gcc.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/appendix/learning.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/appendix/visual_studio.doctree
Binary file not shown.
Binary file not shown.
Binary file removed docs/build/.doctrees/bibliography.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/configure.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/build/.doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/build/.doctrees/how_to_update.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/index.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/meet_trouble.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/preface.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/question_and_answer.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/todo.doctree
Binary file not shown.
Binary file removed docs/build/.doctrees/verify.doctree
Binary file not shown.
Loading

0 comments on commit aaaa56a

Please sign in to comment.