mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-12 13:27:36 +00:00
Implement ‘blockdiag - simple block-diagram image generator’ to illustrate documentation with block diagrams, sequence diagrams, activity diagrams and logical network diagrams
This commit is contained in:
18
docs/conf.py
18
docs/conf.py
@@ -44,7 +44,23 @@ suppress_warnings = ['image.nonlocal_uri']
|
||||
# Add any Sphinx extension module names here, as strings. They can be
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = ['breathe', 'link-roles']
|
||||
extensions = ['breathe',
|
||||
'link-roles',
|
||||
'sphinxcontrib.blockdiag',
|
||||
'sphinxcontrib.seqdiag',
|
||||
'sphinxcontrib.actdiag',
|
||||
'sphinxcontrib.nwdiag',
|
||||
'sphinxcontrib.rackdiag',
|
||||
'sphinxcontrib.packetdiag'
|
||||
]
|
||||
|
||||
# Set up font for blockdiag, nwdiag, rackdiag and packetdiag
|
||||
blockdiag_fontpath = '_static/DejaVuSans.ttf'
|
||||
seqdiag_fontpath = '_static/DejaVuSans.ttf'
|
||||
actdiag_fontpath = '_static/DejaVuSans.ttf'
|
||||
nwdiag_fontpath = '_static/DejaVuSans.ttf'
|
||||
rackdiag_fontpath = '_static/DejaVuSans.ttf'
|
||||
packetdiag_fontpath = '_static/DejaVuSans.ttf'
|
||||
|
||||
# Breathe extension variables
|
||||
breathe_projects = { "esp32-idf": "xml/" }
|
||||
|
Reference in New Issue
Block a user