https://github.com/SoftwareHeritage/swh-model
Revision 12257c1452e88a45012882b28f484a1b8cfc02c0 authored by Antoine R. Dumont (@ardumont) on 30 March 2022, 08:31:23 UTC, committed by Antoine R. Dumont (@ardumont) on 30 March 2022, 08:56:58 UTC
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)
```
1 parent dbce3cc
History
Tip revision: 12257c1452e88a45012882b28f484a1b8cfc02c0 authored by Antoine R. Dumont (@ardumont) on 30 March 2022, 08:31:23 UTC
docs/cli: Align and fix cli documentation
Tip revision: 12257c1
File Mode Size
bin
docs
swh
.gitignore -rw-r--r-- 137 bytes
.pre-commit-config.yaml -rw-r--r-- 884 bytes
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 45 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 157 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 24 bytes
README.md -rw-r--r-- 620 bytes
mypy.ini -rw-r--r-- 522 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 253 bytes
requirements-cli.txt -rw-r--r-- 30 bytes
requirements-test.txt -rw-r--r-- 51 bytes
requirements.txt -rw-r--r-- 380 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.4 KB
tox.ini -rw-r--r-- 1.7 KB

README.md

back to top