KumareshBabuNS / docs-on-demand-service-broker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Displaying locally

In order to display our mermaid templates locally (whilst running through bookbinder watch for example) the mermaid partials are expected to have file names preprended with an underscore. Unfortunately, this is the exact opposite behaviour to that expected by the templating engine in the live docs.

To help with this we have two scripts to localise, and then revert these diagram files:

  • ./scripts/mmd-localise will prepend each mermaid file with an underscore
  • ./scripts/mmd-globalise will remove the first underscore from each mermaid file

About


Languages

Language:HTML 99.8%Language:Shell 0.2%