mgaitan / sphinxcontrib-mermaid

Mermaid diagrams in yours sphinx powered docs
http://sphinxcontrib-mermaid-demo.readthedocs.io/en/latest/
Other
338 stars 96 forks source link

Support for the new Mermaid CLI #13

Closed karl-sjogren closed 7 years ago

karl-sjogren commented 7 years ago

I just installed this extension and ran into problems immediately. The used mermaid-cli is deprecated and the new official have a completely different syntax.

The official CLI is available from https://github.com/mermaidjs/mermaid.cli and for starters the command is now mmdc instead of mermaid. The output type is determined by the extension of the output file, there are no flags for verbose, phantomPath or sequenceConfig.

I did a short attempt to get it working but my knowledge of Python and Sphinx extensions wasn't really enough. Ideally this could be supported by checking the mermaid_cmd option if we should use mermaid or mmdc to keep it backwards compatible.

bastiedotorg commented 7 years ago

see #14

mgaitan commented 7 years ago

fixed in #14