Skip to content

Commit 207f835

Browse files
authored
fix config var names in docs (#1878)
a couple bits that were missed in #1614
1 parent 80d4f30 commit 207f835

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user_guide/styling.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,15 @@ For a complete list of the theme colors that you may override, see the :download
193193
Configure pygments theme
194194
========================
195195

196-
As the Sphinx theme supports multiple modes, the code highlighting colors can be modified for each one of them by modifying the ``pygment_light_style`` and ``pygment_dark_style``.
196+
As the Sphinx theme supports multiple modes, the code highlighting colors can be modified for each one of them by modifying the ``pygments_light_style`` and ``pygments_dark_style``.
197197
You can check available Pygments colors on this `pygments demo page <https://pygments.org/styles/>`__.
198198

199199
.. code-block:: python
200200
201201
html_theme_options = {
202202
...
203-
"pygment_light_style": "tango",
204-
"pygment_dark_style": "monokai"
203+
"pygments_light_style": "tango",
204+
"pygments_dark_style": "monokai"
205205
}
206206
207207
Note that the PyData Sphinx theme uses the `accessible pygments styles <https://github.com/Quansight-Labs/accessible-pygments>`__ for its default syntax highlighting themes.

0 commit comments

Comments
 (0)