mirror of
https://github.com/ash-project/ash_state_machine.git
synced 2024-09-20 05:13:26 +12:00
docs: add mermaid to hexdocs
This commit is contained in:
parent
9b99ddc1ec
commit
759acb3081
1 changed files with 14 additions and 14 deletions
28
mix.exs
28
mix.exs
|
@ -98,27 +98,27 @@ defmodule AshStateMachine.MixProject do
|
|||
name: "AshStateMachine",
|
||||
target: "Ash.Resource",
|
||||
type: "StateMachine Resource"
|
||||
},
|
||||
%{
|
||||
module: AshGraphql.Api,
|
||||
name: "AshGraphql Api",
|
||||
target: "Ash.Api",
|
||||
type: "GraphQL Api"
|
||||
}
|
||||
]
|
||||
],
|
||||
before_closing_body_tag: fn
|
||||
:html ->
|
||||
"""
|
||||
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
||||
<script>mermaid.initialize({startOnLoad: true})</script>
|
||||
"""
|
||||
|
||||
_ ->
|
||||
""
|
||||
end,
|
||||
extras: extras(),
|
||||
groups_for_extras: groups_for_extras(),
|
||||
groups_for_modules: [
|
||||
AshGraphql: [
|
||||
AshGraphql
|
||||
Dsl: [
|
||||
AshStateMachine
|
||||
],
|
||||
Introspection: [
|
||||
AshGraphql.Resource.Info,
|
||||
AshGraphql.Api.Info
|
||||
],
|
||||
Miscellaneous: [
|
||||
AshGraphql.Resource.Helpers
|
||||
Charts: [
|
||||
AshStateMachine.Charts
|
||||
],
|
||||
Internals: ~r/.*/
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue