mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
doc: make looks understandable
This commit is contained in:
parent
76c5395c5b
commit
12a8d5c0bd
@ -74,8 +74,7 @@ It adds this directive:
|
||||
|
||||
If you have specified a module in the inheritance diagram like this::
|
||||
|
||||
.. inheritance-diagram::
|
||||
dummy.test
|
||||
.. inheritance-diagram:: dummy.test
|
||||
:top-classes: dummy.test.B, dummy.test.C
|
||||
|
||||
any base classes which are ancestors to ``top-classes`` and are also defined
|
||||
@ -86,10 +85,7 @@ It adds this directive:
|
||||
If you don't want class A (or any other ancestors) to be visible then specify
|
||||
only the classes you would like to generate the diagram for like this::
|
||||
|
||||
.. inheritance-diagram::
|
||||
dummy.test.D
|
||||
dummy.test.E
|
||||
dummy.test.F
|
||||
.. inheritance-diagram:: dummy.test.D dummy.test.E dummy.test.F
|
||||
:top-classes: dummy.test.B, dummy.test.C
|
||||
|
||||
.. versionchanged:: 1.7
|
||||
|
Loading…
Reference in New Issue
Block a user