Skip to content

Commit 8a039b6

Browse files
committed
docs: add description for examples
1 parent d477520 commit 8a039b6

File tree

16 files changed

+1783
-849
lines changed

16 files changed

+1783
-849
lines changed

Examples.generated.md

Lines changed: 0 additions & 336 deletions
This file was deleted.

docs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
35
spago run --main Test.Docs
46
nix build .#docs
57
open result/index.html

docs/book.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ language = "en"
44
multilingual = false
55
src = "src"
66
title = "PureScript JSON Schema"
7+
8+
[preprocessor]
9+
10+
[preprocessor.mermaid]
11+
command = "mdbook-mermaid"
12+
13+
[output]
14+
15+
[output.html]
16+
additional-js = ["mermaid.min.js", "mermaid-init.js"]

docs/mermaid-init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mermaid.initialize({startOnLoad:true});

docs/mermaid.min.js

Lines changed: 1282 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)