freebsd-ports/devel/py-pathtools/files/patch-docs__source__conf.py
Nicola Vitale 8e81938fc0 Fix build when DOCS option is off.
The build failed if py-sphinx was not installed as it always ran
post-build and post-install targets.

This patch also moves OPTIONS_DEFINE further down (as suggested by portlint).

PR:		246643
Submitted by:	Robert Kruus <robert.kruus@utoronto.ca>
2020-05-26 21:21:27 +00:00

11 lines
427 B
Python

--- docs/source/conf.py.orig 2011-08-25 09:25:25 UTC
+++ docs/source/conf.py
@@ -104,7 +104,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'flask'
+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