From 1258128ecabab1cacec8bf12b3de73941c34331a Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 12 Dec 2018 10:16:54 +0100 Subject: [PATCH] explicitly recommend to inherit CSS via @import while `@import` is mentioned in the `stylesheet` section, it is not clear that `inherit` won't add the base themes stylesheet by default --- doc/theming.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/theming.rst b/doc/theming.rst index 7338153f0..4d4af4d90 100644 --- a/doc/theming.rst +++ b/doc/theming.rst @@ -49,7 +49,8 @@ Python :mod:`ConfigParser` module) and has the following structure: * The **inherit** setting gives the name of a "base theme", or ``none``. The base theme will be used to locate missing templates (most themes will not have to supply most templates if they use ``basic`` as the base theme), its options - will be inherited, and all of its static files will be used as well. + will be inherited, and all of its static files will be used as well. If you want + to also inherit the stylesheet, include it via CSS' ``@import`` in your own. * The **stylesheet** setting gives the name of a CSS file which will be referenced in the HTML header. If you need more than one CSS file, either