Remove html_pygments_dark_style option

This commit is contained in:
Septatrix committed 2020-03-14 18:46:02 +01:00
1 parent 6314419bc5
commit 81fe5f8477
6 files changed
+22 -26

No files matched your search

+1 -2
View File
@@ -66,8 +66,7 @@ Python :mod:`ConfigParser` module) and has the following structure:
* The **pygments_dark_style** setting gives the name of a Pygments style to use
for highlighting when the CSS media query ``(prefers-color-scheme: dark)``
evaluates to true. It is injected into the page using
:meth:`~Sphinx.add_css_file()`. This can be overriden by the user in the
:confval:`html_pygments_dark_style` config value.
:meth:`~Sphinx.add_css_file()`.
* The **sidebars** setting gives the comma separated list of sidebar templates
for constructing sidebars. This can be overridden by the user in the
-7
View File
@@ -939,13 +939,6 @@ that use Sphinx's HTMLWriter class.
The image file will be copied to the ``_static`` directory of the output
HTML, but only if the file does not already exist there.
.. confval:: html_pygments_dark_style
The style name to use for an additional Pygments stylesheet similar to
:confval:`pygments_style` . If not set and the theme defines a default
``'pygments_dark_style'`` it will be used, otherwise no additional style
will be generated. See :doc:`/usage/theming` for further information.
.. confval:: html_css_files
A list of CSS files. The entry must be a *filename* string or a tuple