[Forensics-changes] [yara] 61/135: Fix issue with documentation config in readthedocs.org
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:27:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.1.0
in repository yara.
commit 0780c6efa8a26019e86f84d26dcac1d58fca5b13
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Tue Jul 15 12:21:56 2014 +0200
Fix issue with documentation config in readthedocs.org
---
docs/conf.py | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 85dc162..6825c25 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -96,14 +96,18 @@ pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
-import sphinx_rtd_theme
+
+
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = "sphinx_rtd_theme"
-
-html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+try:
+ import sphinx_rtd_theme
+ html_theme = "sphinx_rtd_theme"
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+except:
+ 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list