File tree Expand file tree Collapse file tree 5 files changed +12
-21
lines changed Expand file tree Collapse file tree 5 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -25,30 +25,20 @@ jobs:
25
25
uses : actions/setup-python@v4
26
26
with :
27
27
python-version : ' 3.9'
28
+ cache : pip
28
29
29
- - name : Upgrade pip
30
- run : |
31
- # pip >= 20.1 so we can use ``pip cache dir``
32
- python3 -m pip install --upgrade pip
33
- - name : Get pip cache dir
34
- id : pip-cache
35
- run : echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT"
36
-
37
- - name : Cache dependencies
38
- uses : actions/cache@v3
39
- with :
40
- path : ${{ steps.pip-cache.outputs.dir }}
41
- key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
42
- restore-keys : |
43
- ${{ runner.os }}-pip-
44
30
- name : Install dependencies
45
31
run : python3 -m pip install -U -e ".[all]"
46
32
47
33
- name : pre-pull container images
48
34
run : make container-pull
49
35
50
36
- name : Build documentation
51
- run : make html
37
+ run : |
38
+ make html
39
+ for lang in en es pt_BR pt_PT ja zh_Hans; do
40
+ make html BUILDDIR=_build/${lang} SPHINXOPTS="-D language=${lang}"
41
+ done
52
42
53
43
- name : Deploy
54
44
uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 3
3
4
4
# You can set these variables from the command line, and also
5
5
# from the environment for the first two.
6
- # SPHINXOPTS = # was "-W" (turn warnings into errors)
6
+ SPHINXOPTS = # was "-W" (turn warnings into errors)
7
7
SPHINXBUILD = sphinx-build
8
8
SOURCEDIR = src
9
9
BUILDDIR = _build
Original file line number Diff line number Diff line change 218
218
"navigation_depth" : 2 ,
219
219
"collapse_navigation" : True ,
220
220
"show_prev_next" : True ,
221
- "footer_items" : ["copyright" ],
221
+ "footer_start" : ["copyright" , "sphinx-version" ],
222
+ "footer_end" : ["theme-version" ],
222
223
}
223
224
224
225
html_context = {
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ rest of the file.
141
141
The *shebang* is the two-character sequence `#!` at the beginning of a
142
142
script. When the script is executable, the operating system will execute
143
143
the script using the executable specified after the shebang. It is
144
- considered a good practice to use `/usr/bin/env < executable> ` rather than using a hard-coded location, since `/usr/bin/env < executable> `
145
- looks for the `< executable> ` program in the system `PATH`,
144
+ considered a good practice to use `/usr/bin/env [ executable] ` rather than using a hard-coded location, since `/usr/bin/env [ executable] `
145
+ looks for the `[ executable] ` program in the system `PATH`,
146
146
```
147
147
148
148
## Text Editor
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ of software and libraries used for following the rest of this user guide.
51
51
## Running "Hello World"
52
52
53
53
The usage of the ` cwltool ` command-line executable is basically
54
- ` cwltool [OPTIONS] < CWL_DOCUMENT> [INPUTS_OBJECT] ` . You can run the
54
+ ` cwltool [OPTIONS] [ CWL_DOCUMENT] [INPUTS_OBJECT] ` . You can run the
55
55
` hello_world.cwl ` workflow without specifying any option:
56
56
57
57
``` {runcmd} cwltool hello_world.cwl
You can’t perform that action at this time.
0 commit comments