Module edocmermaid_layout

Patches the output of edoc_layout.

Description

Patches the output of edoc_layout.

This module append the reference and configuration for mermaid javascript. For each html file created by edoc_layout:module/2 and edoc_layout:overview/2, this module will append the following html snippet:

  <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
  <script>mermaid.initialize({startOnLoad:true});</script>

Function Index

module/2Calls edoc_layout:module/2 and append mermaid javascript snippet.
overview/2Calls edoc_layout:overview/2 and append mermaid javascript snippet.
type/1

Function Details

module/2

module(Element, Options) -> any()

Calls edoc_layout:module/2 and append mermaid javascript snippet. Called from edoc_doclet module.

overview/2

overview(Element, Options) -> any()

Calls edoc_layout:overview/2 and append mermaid javascript snippet. Called from edoc_doclet module.

type/1

type(E) -> any()


Generated by EDoc