-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path0002-Do-not-check-Sphinx-version.patch
More file actions
35 lines (32 loc) · 1.06 KB
/
0002-Do-not-check-Sphinx-version.patch
File metadata and controls
35 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 50ef809ca1e3b365b22a555ed51cc2637c1dd9b9 Mon Sep 17 00:00:00 2001
From: Alan Pevec <alan.pevec@redhat.com>
Date: Fri, 25 Sep 2015 21:46:17 +0200
Subject: [PATCH] Do not check Sphinx version
Latest Sphinx in Fedora is 1.2.3
---
doc/source/conf.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/doc/source/conf.py b/doc/source/conf.py
index e265348..4a0b1dd 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -33,11 +33,6 @@ def cd(newpath):
# If oldpath no longer exists, stay where we are.
pass
-# Check Sphinx version
-import sphinx
-if sphinx.__version__ < "1.3":
- raise RuntimeError("Sphinx 1.3 or newer required")
-
# Environment variable to know if the docs are being built on rtd.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
print
@@ -73,7 +68,7 @@ extensions = [
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.mathjax',
- 'sphinx.ext.napoleon',
+ 'sphinxcontrib.napoleon',
'sphinx.ext.pngmath',
'sphinx.ext.todo',
'sphinx.ext.viewcode',