[master 1/3] Add class diagram settings to documentation

jkonecny12 installerbot-noreply at redhat.com
Thu Jul 23 14:05:45 UTC 2015


From: Jiri Konecny <jkonecny at redhat.com>

---
 docs/conf.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index e0598b0..3b90bd0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -28,7 +28,7 @@
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.inheritance_diagram']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -102,6 +102,9 @@ def read_version():
 
 autoclass_content = 'both'
 
+# Inheritence diagram graphviz settings
+inheritance_graph_attrs = dict(rankdir="UD", fontsize=14, ratio='auto')
+inheritance_node_attrs = dict(style='rounded', margin='"0.07, 0.07"')
 
 # -- Options for HTML output ---------------------------------------------------
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/cb671038dd86bde0862c1a62663be08aa7998775


More information about the anaconda-patches mailing list