diff --git a/docs/src/configuration.md b/docs/src/configuration.md index 22541d0..26f1bb5 100644 --- a/docs/src/configuration.md +++ b/docs/src/configuration.md @@ -197,9 +197,9 @@ graph TD; graph TD A[\Replenish Value Add stock/] --->C B(Order product with Value Add) --->C - C{Frequent process?} --->|Yes|D + C{Frequent process?} --->|Yes|D C --->|No|F - D{New template?} --->|Yes|E + D{New template?} --->|Yes|E D --->|No|G E(Create work order template) --->G F(Create work order) --->H @@ -207,22 +207,22 @@ graph TD H(Add materials to work order processes) --->J I(Adjust material quantities) --->J J(Monitor work orders) --->K - K{Material quantities in stock?} --->|No|L + K{Material quantities in stock?} --->|No|L K --->|Yes|M L(Procure materials) --->M M(Change status to In Progress) --->N - N{External Vendor to perform step?} --->|Yes|O + N{External Vendor to perform step?} --->|Yes|O N --->|No|P O(Add vendor costs) --->Q P[\Perform work order step/] --->R Q([Ship materials to Vendor]) --->S --->X - R{Additional processing required?} --->|Yes|N + R{Additional processing required?} --->|Yes|N R--->|No|T S[\Perform work order step/] --->U T(Receive final stock) --->V U(Receive product from vendor) --->W V(Ship product on order) --->Y - W{Partial quantity received?} --->|Yes|X + W{Partial quantity received?} --->|Yes|X W --->|No|Z X[Create work order backorder] ---> J Y(Change status to complete) --->AA @@ -230,6 +230,35 @@ graph TD AA([Finish]) ``` +```mermaid +zenuml + title Demo + Alice->John: Hello John, how are you? + John->Alice: Great! + Alice->John: See you later! +``` + +```mermaid +mindmap + root((mindmap)) + Origins + Long history + ::icon(fa fa-book) + Popularisation + British popular psychology author Tony Buzan + Research + On effectiveness
and features + On Automatic creation + Uses + Creative techniques + Strategic planning + Argument mapping + Tools + Pen and paper + Mermaid +``` + + ## GitHub Admonitions GitHub admonitions are automatically translated to sphinx. diff --git a/pyproject.toml b/pyproject.toml index 3fa355a..7ef7507 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "sphinx-autoapi", "sphinx-copybutton", "sphinx-design", - "sphinxcontrib-mermaid>=1.1,<2", + "sphinxcontrib-mermaid>=2.0.0rc0,<2.1", "sphinx-reredirects", "toml", "typer", diff --git a/yardang/conf.py.j2 b/yardang/conf.py.j2 index da33327..28bd17c 100644 --- a/yardang/conf.py.j2 +++ b/yardang/conf.py.j2 @@ -83,6 +83,8 @@ nb_execution_excludepatterns = {{nb_execution_excludepatterns}} #sphinxcontrib.mermaid mermaid_d3_zoom = True mermaid_fullscreen = True +mermaid_include_elk = True +mermaid_include_zenuml = True # redirects redirects = {{redirects}}