Changeset View
Changeset View
Standalone View
Standalone View
jobs/swh/docs.yaml
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | - job: | ||||
scm: | scm: | ||||
- git: | - git: | ||||
url: https://forge.softwareheritage.org/source/swh-environment.git | url: https://forge.softwareheritage.org/source/swh-environment.git | ||||
builders: | builders: | ||||
- shell: | | - shell: | | ||||
#!/bin/bash | #!/bin/bash | ||||
crudini --del .mrconfig snippets | |||||
crudini --del .mrconfig swh-py-template | |||||
mr -j 4 -t update | mr -j 4 -t update | ||||
mr -t run git rev-parse HEAD > revisions.txt | mr -t run git rev-parse HEAD > revisions.txt | ||||
cd swh-docs | cd swh-docs | ||||
SPHINXOPTS='-W -q --keep-going -w errors.log' tox -e sphinx-dev | SPHINXOPTS='-W -q --keep-going -w errors.log' tox -e sphinx-dev | ||||
publishers: | publishers: | ||||
- archive: | - archive: | ||||
artifacts: "revisions.txt,swh-docs/docs/errors.log,swh-docs/.tox/log/*" | artifacts: "revisions.txt,swh-docs/docs/errors.log,swh-docs/.tox/log/*" | ||||
- html-publisher: | - html-publisher: | ||||
name: 'SWH Documentation (HEAD)' | name: 'SWH Documentation (HEAD)' | ||||
dir: 'swh-docs/docs/_build/html' | dir: 'swh-docs/docs/_build/html' | ||||
files: 'index.html' | files: 'index.html' | ||||
keep-all: false | keep-all: false | ||||
includes: '**/*' | includes: '**/*' |