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