From a120f5419207345d7b9178011a23460d5b9544e2 Mon Sep 17 00:00:00 2001 From: ash Date: Wed, 20 Aug 2025 13:45:54 +0100 Subject: [PATCH] Harmonise README.rst and installing.rst --- README.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f51d8b2e9..c725347ef 100644 --- a/README.rst +++ b/README.rst @@ -34,10 +34,15 @@ This theme is distributed on PyPI_ and can be installed with ``pip``: $ pip install sphinx-rtd-theme To use the theme in your Sphinx project, you will need to edit -your ``conf.py`` file's ``html_theme`` setting: +your ``conf.py`` file's ``extensions`` and ``html_theme`` settings: .. code:: python + extensions = [ + ... + "sphinx_rtd_theme", + ] + html_theme = "sphinx_rtd_theme" .. admonition:: See also: