]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: switch to upstream sphinx-ditaa
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 10:18:03 +0000 (18:18 +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 f1fefe0bc7cbfc5a98346d19e2a6322eb85301ae..3bcc7de62512c4a7f8c99ec2a5f2891cacd56aff 100644 (file)
@@ -27,9 +27,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(