currently a beta feature, so feedback is encouraged. The script
`docs_script.sh` is not needed, you can copy the files by hand if you prefer.
+The default location of the tox.ini file is in the git repository root
+directory. Optionally your documentation lead may decide to store all tox files
+within the required "docs" subdirectory by setting configuration option
+"tox-dir" to value "docs/" as discussed below.
+
+If your project's tox dir is "docs/" and not "." the tox.ini must be
+reconfigured with the correct relative paths.
+
Once these files are correctly configured in your repository you can test
locally:
name: rtdv3-global-verify
build-node: centos7-builder-1c-1g
default-version: latest
+ tox-dir: "."
jobs:
- rtdv3-global-verify
stream:
- project:
name: rtdv3-global
default-version: latest
+ tox-dir: "."
build-node: centos7-builder-1c-1g
jobs:
- rtdv3-global
(default: 10)
:submodule-disable: Disable submodule checkout operation.
(default: false)
-
+ :tox-dir: Directory containing the project's read the docs tox.ini
:gerrit_verify_triggers: Override Gerrit Triggers.
:gerrit_trigger_file_paths: Override file paths filter which checks which
file modifications will trigger a build.
- inject:
properties-content: |
DEFAULT_VERSION={default-version}
- - shell: !include-raw: ../shell/rtdv3.sh
+ - shell: !include-raw-escape: ../shell/rtdv3.sh
- builder:
name: check-info-votes
submodule-recursive: true
submodule-disable: false
submodule-timeout: 10
+ tox-dir: "."
gerrit-skip-vote: false
gerrit_trigger_file_paths:
- inject:
properties-content: |
TOX_ENVS=docs,docs-linkcheck
+ TOX_DIR={tox-dir}
- lf-infra-tox-run:
parallel: "true"
- lf-rtdv3-build: