File tree Expand file tree Collapse file tree 9 files changed +9061
-1
lines changed
locales/zh_CN/LC_MESSAGES Expand file tree Collapse file tree 9 files changed +9061
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches : [xin]
6
+
7
+ jobs :
8
+ deploy-to-pages :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - name : 🛎️ Checkout
13
+ uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0 # fetch all history so that last modified date-times are accurate
16
+
17
+ - name : 🐍 Set up Python 3.10
18
+ uses : actions/setup-python@v2
19
+ with :
20
+ python-version : " 3.10"
21
+
22
+ - name : 🧳 Cache pip
23
+ uses : actions/cache@v2
24
+ with :
25
+ # This path is specific to Ubuntu
26
+ path : ~/.cache/pip
27
+ # Look to see if there is a cache hit for the corresponding requirements file
28
+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
29
+ restore-keys : |
30
+ ${{ runner.os }}-pip-
31
+ ${{ runner.os }}-
32
+
33
+ # - name: 👷 Install Dot and pandoc
34
+ # run: |
35
+ # conda install -c conda-forge pandoc
36
+ # conda install -c conda-forge ipython
37
+ # pip install sphinxcontrib-websupport
38
+ # sudo apt update
39
+ # sudo apt install -y graphviz
40
+
41
+ - name : 👷 Install dependencies
42
+ shell : bash
43
+ run : |
44
+ pip install --upgrade pip
45
+ pip install -r doc/requirements.txt
46
+
47
+ - name : 🔧 Build HTML
48
+ run : |
49
+ cd doc
50
+ make html
51
+
52
+ # remove the .doctrees folder when building for deployment as it takes two thirds of disk space
53
+ - name : 🔥 Clean up files
54
+ run : rm -r doc/_build/doctrees/
55
+
56
+ - name : 🚀 Deploy to GitHub pages
57
+ uses : peaceiris/actions-gh-pages@v3.6.1
58
+ with :
59
+ github_token : ${{ secrets.GITHUB_TOKEN }}
60
+ publish_dir : docs/_build/html
Original file line number Diff line number Diff line change 1
1
build /
2
+ * .mo
You can’t perform that action at this time.
0 commit comments