Package: mopidy / 2.1.0-1

0001-Make-docs-buildable-with-older-Sphinx.patch Patch series | download
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
From 579c8fe543026c9da115d627b3825107219ea4f1 Mon Sep 17 00:00:00 2001
From: Stein Magnus Jodal <jodal@debian.org>
Date: Mon, 15 Feb 2016 23:40:18 +0100
Subject: Make docs buildable with older Sphinx

Sphinx 1.3 is only needed for ToC captions. The docs build completes
successfully with older Sphinx versions as well, like Sphinx 1.1
packaged in Debian wheezy.
---
 docs/conf.py   |  2 +-
 docs/index.rst | 24 ++++++++++++++++++------
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index d504989..ca6bfcd 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -58,7 +58,7 @@ def setup(app):
 
 # -- General configuration ----------------------------------------------------
 
-needs_sphinx = '1.3'
+needs_sphinx = '1.0'
 
 extensions = [
     'sphinx.ext.autodoc',
diff --git a/docs/index.rst b/docs/index.rst
index b9b65c8..44b66d8 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -74,8 +74,10 @@ If you want to stay up to date on Mopidy developments, you can follow `@mopidy
 announcements related to Mopidy and Mopidy extensions.
 
 
+Usage
+=====
+
 .. toctree::
-    :caption: Usage
     :maxdepth: 2
 
     installation/index
@@ -88,8 +90,10 @@ announcements related to Mopidy and Mopidy extensions.
 
 .. _ext:
 
+Extensions
+==========
+
 .. toctree::
-    :caption: Extensions
     :maxdepth: 2
 
     ext/local
@@ -105,8 +109,10 @@ announcements related to Mopidy and Mopidy extensions.
     ext/web
 
 
+Clients
+=======
+
 .. toctree::
-    :caption: Clients
     :maxdepth: 2
 
     clients/http
@@ -115,8 +121,10 @@ announcements related to Mopidy and Mopidy extensions.
     clients/upnp
 
 
+About
+=====
+
 .. toctree::
-    :caption: About
     :maxdepth: 1
 
     authors
@@ -125,8 +133,10 @@ announcements related to Mopidy and Mopidy extensions.
     versioning
 
 
+Development
+===========
+
 .. toctree::
-    :caption: Development
     :maxdepth: 2
 
     contributing
@@ -136,8 +146,10 @@ announcements related to Mopidy and Mopidy extensions.
     extensiondev
 
 
+Reference
+=========
+
 .. toctree::
-    :caption: Reference
     :maxdepth: 2
 
     glossary