]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: switch to upstream sphinx-ditaa 18167/head
authorKefu Chai <kchai@redhat.com>
Mon, 11 Sep 2017 13:54:33 +0000 (21:54 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 8 Oct 2017 08:40:23 +0000 (16:40 +0800)
it works with setuptools and is now compatible with py3

the py3 branch is created to track the upstream's master branch

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit fda079d5ed4c8a80c677f714a680233a568d512e)

admin/doc-requirements.txt
doc/conf.py

index 3990b2f31bdc904241837d2f33f1c33fb161b481..dc14113035d249acb30de1d11bc15ae8b4c289dd 100644 (file)
@@ -1,3 +1,3 @@
 Sphinx == 1.6.3
--e git+https://github.com/ceph/sphinx-ditaa.git#egg=sphinx-ditaa
+-e git+https://github.com/ceph/sphinx-ditaa.git@py3#egg=sphinx-ditaa
 -e git+https://github.com/michaeljones/breathe#egg=breathe
index 49b6ecde29e2445bead056ded89597bfdcfd5040..a1968bb4c1476943e46446599994e20bf919f92f 100644 (file)
@@ -41,9 +41,10 @@ extensions = [
     'sphinx.ext.autodoc',
     'sphinx.ext.graphviz',
     'sphinx.ext.todo',
-    'sphinx_ditaa',
+    'sphinxcontrib.ditaa',
     'breathe',
     ]
+ditaa = 'ditaa'
 todo_include_todos = True
 
 top_level = os.path.dirname(