From: Jani Nikula <jani.nikula@linux.intel.com>
To: Jonathan Corbet <corbet@lwn.net>, linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH 3/4] docs: reconfigure the HTML left column
Date: Mon, 05 Sep 2022 11:31:43 +0300 [thread overview]
Message-ID: <87zgfeb4sw.fsf@intel.com> (raw)
In-Reply-To: <20220901231632.518583-4-corbet@lwn.net>
On Thu, 01 Sep 2022, Jonathan Corbet <corbet@lwn.net> wrote:
> Use the html_sidebars directive to get a more useful set of links in the
> left column.
>
> Unfortunately, this is a no-op with the default RTD theme, but others
> observe it.
I regret picking the RTD theme way back when, on more of a whim than
anything else, and claiming we could change it later on. :(
BR,
Jani.
>
> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
> ---
> Documentation/conf.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/conf.py b/Documentation/conf.py
> index 78dd6d1e7b88..22c9d4df1967 100644
> --- a/Documentation/conf.py
> +++ b/Documentation/conf.py
> @@ -370,7 +370,8 @@ html_static_path = ['sphinx-static']
> html_use_smartypants = False
>
> # Custom sidebar templates, maps document names to template names.
> -#html_sidebars = {}
> +# Note that the RTD theme ignores this
> +html_sidebars = { '**': ['searchbox.html', 'localtoc.html', 'sourcelink.html']}
>
> # Additional templates that should be rendered to pages, maps page names to
> # template names.
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2022-09-05 8:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 23:16 [PATCH 0/4] Rewrite the top-level index.rst Jonathan Corbet
2022-09-01 23:16 ` [PATCH 1/4] docs: promote the title of process/index.html Jonathan Corbet
2022-09-01 23:16 ` [PATCH 2/4] docs: Rewrite the front page Jonathan Corbet
2022-09-05 8:28 ` Jani Nikula
2022-09-01 23:16 ` [PATCH 3/4] docs: reconfigure the HTML left column Jonathan Corbet
2022-09-05 8:31 ` Jani Nikula [this message]
2022-09-01 23:16 ` [PATCH 4/4] docs: remove some index.rst cruft Jonathan Corbet
2022-09-03 10:03 ` [PATCH 0/4] Rewrite the top-level index.rst Thorsten Leemhuis
2022-09-03 13:25 ` Jonathan Corbet
2022-09-14 14:32 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgfeb4sw.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.