Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: sphinx-pre-install: don't require the RTD theme

We don't default to the RTD theme anymore, so sphinx-pre-install need not
insist on installing it.

Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

-9
-1
Documentation/sphinx/requirements.txt
··· 1 1 # jinja2>=3.1 is not compatible with Sphinx<4.0 2 2 jinja2<3.1 3 - sphinx_rtd_theme 4 3 Sphinx==2.4.4
-8
scripts/sphinx-pre-install
··· 362 362 { 363 363 my %map = ( 364 364 "python-sphinx" => "python3-sphinx", 365 - "sphinx_rtd_theme" => "python3-sphinx-rtd-theme", 366 365 "ensurepip" => "python3-venv", 367 366 "virtualenv" => "virtualenv", 368 367 "dot" => "graphviz", ··· 396 397 { 397 398 my %map = ( 398 399 "python-sphinx" => "python3-sphinx", 399 - "sphinx_rtd_theme" => "python3-sphinx_rtd_theme", 400 400 "virtualenv" => "python3-virtualenv", 401 401 "dot" => "graphviz", 402 402 "convert" => "ImageMagick", ··· 473 475 { 474 476 my %map = ( 475 477 "python-sphinx" => "python3-sphinx", 476 - "sphinx_rtd_theme" => "python3-sphinx_rtd_theme", 477 478 "virtualenv" => "python3-virtualenv", 478 479 "dot" => "graphviz", 479 480 "convert" => "ImageMagick", ··· 520 523 { 521 524 my %map = ( 522 525 "python-sphinx" => "python3-sphinx", 523 - "sphinx_rtd_theme" => "python3-sphinx_rtd_theme", 524 526 "virtualenv" => "python3-virtualenv", 525 527 "dot" => "graphviz", 526 528 "convert" => "ImageMagick", ··· 563 567 sub give_arch_linux_hints() 564 568 { 565 569 my %map = ( 566 - "sphinx_rtd_theme" => "python-sphinx_rtd_theme", 567 570 "virtualenv" => "python-virtualenv", 568 571 "dot" => "graphviz", 569 572 "convert" => "imagemagick", ··· 593 598 sub give_gentoo_hints() 594 599 { 595 600 my %map = ( 596 - "sphinx_rtd_theme" => "dev-python/sphinx_rtd_theme", 597 601 "virtualenv" => "dev-python/virtualenv", 598 602 "dot" => "media-gfx/graphviz", 599 603 "convert" => "media-gfx/imagemagick", ··· 889 895 $verbose_warn_install = 0; 890 896 891 897 add_package("python-sphinx", 0); 892 - check_python_module("sphinx_rtd_theme", 1); 893 898 894 899 check_distros(); 895 900 ··· 961 968 check_perl_module("Pod::Usage", 0); 962 969 check_program("make", 0); 963 970 check_program("gcc", 0); 964 - check_python_module("sphinx_rtd_theme", 1) if (!$virtualenv); 965 971 check_program("dot", 1); 966 972 check_program("convert", 1); 967 973