From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932141AbcGCMZv (ORCPT ); Sun, 3 Jul 2016 08:25:51 -0400 Received: from smtp1.goneo.de ([85.220.129.30]:53558 "EHLO smtp1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183AbcGCMZc (ORCPT ); Sun, 3 Jul 2016 08:25:32 -0400 X-Spam-Flag: NO X-Spam-Score: -2.799 From: Markus Heiser Cc: Markus Heiser , Hans Verkuil , Daniel Vetter , Airlie , Likely , Dunlap , Packard , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Heiser Subject: [RFC PATCH 1/3] doc-rst: boilerplate HTML theme customization Date: Sun, 3 Jul 2016 14:24:53 +0200 Message-Id: <1467548695-16403-2-git-send-email-markus.heiser@darmarit.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467548695-16403-1-git-send-email-markus.heiser@darmarit.de> References: <1467548695-16403-1-git-send-email-markus.heiser@darmarit.de> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Heiser To: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Daniel Vetter Cc: Airlie Cc: Likely Cc: Dunlap Cc: Packard Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Implements the minimal boilerplate for Sphinx HTML theme customization. Signed-off-by: Markus Heiser --- Documentation/conf.py | 9 ++++++++- Documentation/sphinx-static/theme_overrides.css | 9 +++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Documentation/sphinx-static/theme_overrides.css diff --git a/Documentation/conf.py b/Documentation/conf.py index 792b633..f35748b 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -176,7 +176,14 @@ except ImportError: # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['_static'] + +html_static_path = ['sphinx-static'] + +html_context = { + 'css_files': [ + '_static/theme_overrides.css', + ], +} # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff --git a/Documentation/sphinx-static/theme_overrides.css b/Documentation/sphinx-static/theme_overrides.css new file mode 100644 index 0000000..4d670db --- /dev/null +++ b/Documentation/sphinx-static/theme_overrides.css @@ -0,0 +1,9 @@ +/* -*- coding: utf-8; mode: css -*- + * + * Sphinx HTML theme customization + * + */ + +@media screen { + +} -- docs-next/sphinx-4.8