Page MenuHomeSoftware Heritage

docs/cli: Align cli documentation toc setup
ClosedPublic

Authored by ardumont on Mar 30 2022, 10:37 AM.

Details

Summary

This changes the deprecated :show-nested: instruction to the :nested: one [1]

Tentatively trying to fix failing build on master [2] to fix the failing build on doc [3]

[1] https://sphinx-click.readthedocs.io/en/latest/usage/#directive-click

[2] https://jenkins.softwareheritage.org/view/swh-draft/job/DMOD/job/tests/1698/consoleFull

[3] Related to D7445 D7448

Diff Detail

Repository
rDMOD Data model
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D7467 (id=27064)

Rebasing onto dbce3cc6da...

Current branch diff-target is up to date.
Changes applied before test
commit 77ceb28a75d900cbc98d13b1cb7f66c07ed2572d
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Mar 30 10:31:23 2022 +0200

    docs/cli: Align cli documentation toc setup

Link to build: https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/467/
See console output for more information: https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/467/console

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 30 2022, 10:39 AM
Harbormaster failed remote builds in B27980: Diff 27064!

Build is green

Patch application report for D7467 (id=27070)

Rebasing onto dbce3cc6da...

Current branch diff-target is up to date.
Changes applied before test
commit 12257c1452e88a45012882b28f484a1b8cfc02c0
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Mar 30 10:31:23 2022 +0200

    docs/cli: Align and fix cli documentation
    
    This changes the deprecated :show-nested: instruction to the :nested: one [1].
    This also fixes warning about misdefined block [2]
    
    [1] https://sphinx-click.readthedocs.io/en/latest/usage/#directive-click
    
    [2]
10:38:38  Warning, treated as error:
10:38:38  /var/lib/jenkins/workspace/DMOD/tests-on-diff/docs/cli.rst:14:Literal block expected; none found.
10:38:38  make: *** [../../swh-docs/Makefile.sphinx:32: sphinx/html] Error 2
10:38:38  make: Leaving directory '/var/lib/jenkins/workspace/DMOD/tests-on-diff/docs'
10:38:38  ERROR: InvocationError for command '/usr/bin/make -I ../.tox/sphinx/src/swh-docs/swh/ -C docs' (exited with code 2)
```
See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/468/ for more details.
This revision is now accepted and ready to land.Mar 30 2022, 11:02 AM