projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5f121
)
[Docs] Fix exception name being caught in case ReadTheDocs does not exist.
author
Siddharth Bhat
<siddu.druid@gmail.com>
Fri, 26 May 2017 12:56:35 +0000
(12:56 +0000)
committer
Siddharth Bhat
<siddu.druid@gmail.com>
Fri, 26 May 2017 12:56:35 +0000
(12:56 +0000)
The exception is `ImportError`, not `ModuleNotFoundError`.
llvm-svn: 303982
polly/docs/conf.py
patch
|
blob
|
history
diff --git
a/polly/docs/conf.py
b/polly/docs/conf.py
index
4fb1695
..
64d3968
100644
(file)
--- a/
polly/docs/conf.py
+++ b/
polly/docs/conf.py
@@
-96,7
+96,7
@@
try:
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
-except
ModuleNotFound
Error:
+except
Import
Error:
html_theme = 'haiku'