File tree Expand file tree Collapse file tree 4 files changed +30
-53
lines changed Expand file tree Collapse file tree 4 files changed +30
-53
lines changed Original file line number Diff line number Diff line change 1818 with :
1919 python-version : 3.13
2020
21- - name : Install dependencies
22- run : |
23- pip install jupyter-book
24- pip install sphinx-tags
25-
2621 - name : Build the book
2722 run : |
28- rm -rf DISCOVER/_tags/*
29- sphinx-build -b html DISCOVER/ DISCOVER/_build/html
23+ bash ci/build_website.sh
3024
3125 - name : Push book HTML to gh-pages
3226
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ echo " Starting build process..."
3+
4+ # Install dependencies
5+ pip install -r requirements.txt
6+
7+ # Clean tags directory
8+ rm -rf DISCOVER/_tags/*
9+
10+ echo " Building English version..."
11+ sphinx-build -b html DISCOVER/ DISCOVER/_build/html
12+
13+
14+ # Copy root level files if they exist
15+ if [ -f " DISCOVER/_static/404.html" ]; then
16+ cp DISCOVER/_static/404.html DISCOVER/_build/html/
17+ fi
18+
19+ if [ -f " DISCOVER/_static/index.html" ]; then
20+ cp DISCOVER/_static/index.html DISCOVER/_build/html/
21+ fi
22+
23+ echo " Build completed successfully"
Original file line number Diff line number Diff line change 1+ [build ]
2+ publish = " DISCOVER/_build/html"
3+ command = " bash ci/build_website.sh"
4+
5+ [build .environment ]
6+ PYTHON_VERSION = " 3.12"
You can’t perform that action at this time.
0 commit comments