ci/prepare_translated_docs.sh
raw| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Once Orca is built in a _build directory by another script, _build/help/ will contain |
| 4 | # the translated help files as Mallard .page files. |
| 5 | # |
| 6 | # However, the original docs (help/C/ in the srcdir) are not there, |
| 7 | # since they are not translations. This script just copies that |
| 8 | # directory to the one with the translations so that the help files |
| 9 | # for all languages can be rendered later into HTML. |
| 10 | |
| 11 | set -eux -o pipefail |
| 12 | |
| 13 | cp -r help/C/ _build/help/C/ |