Skip to content

Commit ba70e5f

Browse files
committed
Merge remote-tracking branch 'origin/main' into release
2 parents d98b8ee + 03c5fe1 commit ba70e5f

File tree

5 files changed

+12
-21
lines changed

5 files changed

+12
-21
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff 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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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)
77
SPHINXBUILD = sphinx-build
88
SOURCEDIR = src
99
BUILDDIR = _build

src/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@
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

224225
html_context = {

src/introduction/prerequisites.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ rest of the file.
141141
The *shebang* is the two-character sequence `#!` at the beginning of a
142142
script. When the script is executable, the operating system will execute
143143
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`,
146146
```
147147

148148
## Text Editor

src/introduction/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ of software and libraries used for following the rest of this user guide.
5151
## Running "Hello World"
5252

5353
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
5555
`hello_world.cwl` workflow without specifying any option:
5656

5757
```{runcmd} cwltool hello_world.cwl

0 commit comments

Comments
 (0)