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:
2525 uses : actions/setup-python@v4
2626 with :
2727 python-version : ' 3.9'
28+ cache : pip
2829
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-
4430 - name : Install dependencies
4531 run : python3 -m pip install -U -e ".[all]"
4632
4733 - name : pre-pull container images
4834 run : make container-pull
4935
5036 - 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
5242
5343 - name : Deploy
5444 uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 33
44# You can set these variables from the command line, and also
55# from the environment for the first two.
6- # SPHINXOPTS = # was "-W" (turn warnings into errors)
6+ SPHINXOPTS = # was "-W" (turn warnings into errors)
77SPHINXBUILD = sphinx-build
88SOURCEDIR = src
99BUILDDIR = _build
Original file line number Diff line number Diff line change 218218 "navigation_depth" : 2 ,
219219 "collapse_navigation" : True ,
220220 "show_prev_next" : True ,
221- "footer_items" : ["copyright" ],
221+ "footer_start" : ["copyright" , "sphinx-version" ],
222+ "footer_end" : ["theme-version" ],
222223}
223224
224225html_context = {
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ rest of the file.
141141The *shebang* is the two-character sequence `#!` at the beginning of a
142142script. When the script is executable, the operating system will execute
143143the 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`,
146146```
147147
148148## 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.
5151## Running "Hello World"
5252
5353The 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
5555` hello_world.cwl ` workflow without specifying any option:
5656
5757``` {runcmd} cwltool hello_world.cwl
You can’t perform that action at this time.
0 commit comments