public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Linux Doc Mailing List <linux-doc@vger.kernel.org>
Cc: "Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>,
	linux-kernel@vger.kernel.org,
	"Jani Nikula" <jani.nikula@linux.intel.com>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Akira Yokosawa" <akiyks@gmail.com>,
	"Nícolas F. R. A. Prado" <nfraprado@protonmail.com>,
	"Alex Shi" <alexs@kernel.org>
Subject: Re: [PATCH v4 0/4] docs: add better support for Sphinx themes and CSS
Date: Fri, 10 Dec 2021 14:26:57 -0700	[thread overview]
Message-ID: <87ilvwqhge.fsf@meer.lwn.net> (raw)
In-Reply-To: <cover.1638870323.git.mchehab+huawei@kernel.org>

Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:

> Hi Jon,
>
> This series comes after my patch fixing Sphinx support for RTD 1.0.0:
>  https://lore.kernel.org/lkml/80009f0d17ea0840d81e7e16fff6e7677919fdfc.1638004294.git.mchehab+huawei@kernel.org/
>
> On this version, I renamed the vars to DOCS_CSS and DOCS_THEME,
> based on our previous discussion.
>
> I also changed the description of patch 4, better explaining how to
> override the CSS theme and giving an example that looks fine,
> at least for my eyes.
>
> -
>
> Sphinx allows using different output templates for HTML (and e-pub).
>
> Right now, the Kernel was hardcoded to use the Read the Docs theme,
> falling back to whatever default is setup on a given Sphinx version.
>
> Well, themes and templates are actually an user preference.
>
> This patch set allows selecting different themes and even provide
> extra CSS override files.
>
> With that, one could, for instance, do things like:
>
> $ echo "body { color: darkgreen; } div.body { color: darkgreen; } " >my_css.css && make SPHINXDIRS=input DOCS_CSS=my_css.css DOCS_THEME=nature htmldocs

I've applied the set, thanks.

jon

  parent reply	other threads:[~2021-12-10 21:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-07  9:52 [PATCH v4 0/4] docs: add better support for Sphinx themes and CSS Mauro Carvalho Chehab
2021-12-07  9:52 ` [PATCH v4 1/4] docs: allow selecting a Sphinx theme Mauro Carvalho Chehab
2021-12-11  4:24   ` Randy Dunlap
2021-12-07  9:53 ` [PATCH v4 2/4] docs: allow to pass extra DOCS_CSS themes via make Mauro Carvalho Chehab
2021-12-11  4:24   ` Randy Dunlap
2021-12-07  9:53 ` [PATCH v4 3/4] docs: set format for the classic mode Mauro Carvalho Chehab
2021-12-07  9:53 ` [PATCH v4 4/4] docs: add support for RTD dark mode Mauro Carvalho Chehab
2021-12-10 21:26 ` Jonathan Corbet [this message]
2021-12-11  4:25 ` [PATCH v4 0/4] docs: add better support for Sphinx themes and CSS Randy Dunlap

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=87ilvwqhge.fsf@meer.lwn.net \
    --to=corbet@lwn.net \
    --cc=akiyks@gmail.com \
    --cc=alexs@kernel.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=nfraprado@protonmail.com \
    --cc=rdunlap@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox