summaryrefslogtreecommitdiff
path: root/scripts/sphinx-pre-install
AgeCommit message (Collapse)AuthorFilesLines
2017-07-24sphinx-pre-install: check for the need of graphviz-gdMauro Carvalho Chehab1-0/+9
On newer versions of graphviz packaging on Fedora, it is needed to install a separate package for PDF support. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2017-07-24sphinx-pre-install: use a requirements fileMauro Carvalho Chehab1-3/+2
Instead of using 3 commands to install a virtualenv, use a single one, reading the requirements from this file: Documentation/sphinx/requirements.txt Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2017-07-24sphinx-pre-install: detect an existing virtualenvMauro Carvalho Chehab1-10/+18
Detect if the script runs after creating the virtualenv, printing the command line commands to enable the virtualenv. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2017-07-24scripts/sphinx-pre-install: add a script to check Sphinx installMauro Carvalho Chehab1-0/+517
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Tested on: - Fedora 25 and 26; - Ubuntu 17.04; - OpenSuse Tumbleweed; - Arch Linux; - Gentoo. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>