test uml usage
This commit is contained in:
parent
1fb6f9c83a
commit
923385eba3
2
Makefile
2
Makefile
|
@ -11,4 +11,4 @@ spelling:
|
|||
sphinx-build -b spelling docs/source/ docs/build/spelling
|
||||
|
||||
uml:
|
||||
plantuml -o ../_static/images/ docs/source/uml/*.uml
|
||||
plantuml -tsvg -o ../_static/images/ docs/source/uml/*.uml
|
||||
|
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 6.7 KiB |
|
@ -39,11 +39,7 @@ If no chef was found, it prints the default string: I do not know.
|
|||
|
||||
Now let us move to plugin.py. Some of non-relevant lines were omitted here.
|
||||
|
||||
.. uml::
|
||||
|
||||
Chef <|-- Boost
|
||||
Chef <|-- Fry
|
||||
Chef <|-- Bake
|
||||
.. image:: _static/images/robot_chef.svg
|
||||
|
||||
.. code-block:: python
|
||||
:linenos:
|
||||
|
|
|
@ -10,11 +10,9 @@ extensions = [
|
|||
'sphinx.ext.intersphinx',
|
||||
'sphinx.ext.viewcode',
|
||||
'sphinx.ext.napoleon',
|
||||
'sphinxcontrib.plantuml',
|
||||
'sphinxcontrib.spelling'
|
||||
]
|
||||
tool = os.path.join(os.path.dirname(__file__), "tools/plantuml.jar")
|
||||
plantuml = 'java -Djava.awt.headless=true -jar %s' % tool
|
||||
|
||||
plantuml_output_format = 'svg'
|
||||
templates_path = ['_templates']
|
||||
source_suffix = '.rst'
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
@startuml
|
||||
|
||||
Chef <|-- Boost
|
||||
Chef <|-- Fry
|
||||
Chef <|-- Bake
|
||||
|
||||
@enduml
|
Loading…
Reference in New Issue