aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/documentation-file-ref-check
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-05-25 13:27:27 +0000
committerJonathan Corbet <[email protected]>2021-06-01 22:29:30 +0000
commite50899122f3204946bb3559da23700c2e5b9568b (patch)
tree58e4526f6c9030c4697687e603ff7c14257d4ac4 /scripts/documentation-file-ref-check
parentdocs: zh_CN: update Chinese translations (diff)
downloadkernel-e50899122f3204946bb3559da23700c2e5b9568b.tar.gz
kernel-e50899122f3204946bb3559da23700c2e5b9568b.zip
scripts: sphinx-pre-install: rework the sphinx install logic
The sphinx-pre-install supports installing sphinx via a virtual environment using pip/pypi or directly from the distribution's package, when --no-virtualenv is used. However, even when --no-virtualenv, the current logic is still recomending to install a virtual env, due to a regression. It turns that the logic there is complex, as it depends on several different conditions. Split the code which recommends Sphinx on two separate functions, in order to clean up the code. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Link: https://lore.kernel.org/r/9dedaec201803017b7a7dc24a074f3a4f040b72a.1621949137.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/documentation-file-ref-check')
0 files changed, 0 insertions, 0 deletions