summaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx-static
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-19 12:35:08 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-19 12:35:08 -0300
commitef88f10eb877c427a61c3aacc7ed08ffed0712ab (patch)
treebb678e7e9924674a9ea2cf07b6813f502c2d971b /Documentation/sphinx-static
parente1813eda8e7fdacd992224b79102925cf134be8b (diff)
downloadlinux-stable-ef88f10eb877c427a61c3aacc7ed08ffed0712ab.tar.gz
linux-stable-ef88f10eb877c427a61c3aacc7ed08ffed0712ab.tar.bz2
linux-stable-ef88f10eb877c427a61c3aacc7ed08ffed0712ab.zip
[media] doc-rst: backward compatibility with older Sphinx versions
Sphinx is really evil when an older version finds an extra attribute for the :toctree: tag: it simply ignores everything and produce documents without any chapter inside! As we're now using tags available only on Sphinx 1.4.x, we need to use some creative ways to add a title before the table of contents. Do that by using a css class. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/sphinx-static')
-rw-r--r--Documentation/sphinx-static/theme_overrides.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css
index c97d8428302d..3a2ac4bcfd78 100644
--- a/Documentation/sphinx-static/theme_overrides.css
+++ b/Documentation/sphinx-static/theme_overrides.css
@@ -31,6 +31,11 @@
* - hide the permalink symbol as long as link is not hovered
*/
+ .toc-title {
+ font-size: 150%;
+ font-weight: bold;
+ }
+
caption, .wy-table caption, .rst-content table.field-list caption {
font-size: 100%;
}