extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
- 'sphinxcontrib.blockdiag',
- 'sphinxcontrib.seqdiag',
+ 'sphinxcontrib.mermaid',
'sphinxcontrib.plantuml'
]
Below is a diagram of the DMaaP Data Router project docker containers and the connections between them.
-.. blockdiag::
-
-
- blockdiag layers {
- orientation = portrait
- MARIADB -> DR-PROV;
- DR-PROV -> DR-NODE;
- group l1 {
- color = blue;
- label = "dr-prov Container";
- DR-PROV;
- }
- group l2 {
- color = yellow;
- label = "dr-node Container";
- DR-NODE;
- }
- group l3 {
- color = orange;
- label = "MariaDb Container";
- MARIADB;
- }
-
- }
+.. mermaid::
+
+ graph TD
+ MARIADB --> DR-PROV
+ DR-PROV --> DR-NODE
+
+ subgraph "dr-prov Container"
+ DR-PROV
+ end
+
+ subgraph "dr-node Container"
+ DR-NODE
+ end
+
+ subgraph "MariaDb Container"
+ MARIADB
+ end
+
+ classDef blue fill:#33f,stroke:#333,color:#fff
+ classDef yellow fill:#ff0,stroke:#333,color:#000
+ classDef orange fill:#f90,stroke:#333,color:#000
+
+ class DR-PROV blue
+ class DR-NODE yellow
+ class MARIADB orange
sphinx-rtd-theme>=2.0.0
# Diagram extensions
-sphinxcontrib-blockdiag>=3.0.0
-sphinxcontrib-seqdiag>=3.0.0
+sphinxcontrib-mermaid>=1.0.0
sphinxcontrib-plantuml>=0.27
# Quality & tooling
skipsdist = true
[testenv:docs]
-basepython = python3.11
+basepython = python3.13
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
-commands_pre =
- ; blockdiag uses Pillow textsize() removed in Pillow 10; force-downgrade
- pip install 'Pillow<10'
commands =
sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
[testenv:docs-linkcheck]
-basepython = python3.11
+basepython = python3.13
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
-commands_pre =
- pip install 'Pillow<10'
commands =
sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
[testenv:docs-spellcheck]
-basepython = python3.11
+basepython = python3.13
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
-commands_pre =
- pip install 'Pillow<10'
commands =
sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck