[ovs-dev] [PATCH] doc: Don't override default theme
stephen at that.guru
Tue Apr 18 10:26:49 UTC 2017
Sphinx 1.3 renamed the 'default' theme to 'classic' and configured the
'alabaster' theme as the new default. To prevent breaking existing
builds, the 'default' name was reserved as an alias for 'classic' .
However, initially this raised a warning  with a message to use
'classic' instead. This warning was removed in 1.3.2 , but it will
result in errors (due to the use of the '-W' flag) for Sphinx 1.3.0 and
Mitigate the issue by not setting a theme if the 'ovs_sphinx_theme'
package is absent. This will result in Sphinx using its default theme,
be that 'classic' (Sphinx < 1.3) or 'alabaster'.
Signed-off-by: Stephen Finucane <stephen at that.guru>
Cc: Matthew Thode <mthode at mthode.org>
We might want to backport this if there are any releases with the Sphinx
Documentation/conf.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 49514ec..97f402e 100644
@@ -145,8 +145,6 @@ linkcheck_anchors = False
html_theme = 'ovs'
- html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
More information about the dev