-
Notifications
You must be signed in to change notification settings - Fork 0
/
gendocs.sh
93 lines (80 loc) · 2.01 KB
/
gendocs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/bin/bash
export PATH=../node_modules/.bin:${PATH}
mkdir -p guide/api
cat <<EOF >guide/api/built-in.js.html.md
---
layout: plugin-documentation.html.ejs
title: Built-in Plugin
---
EOF
dox --api <../built-in.js >>guide/api/built-in.js.html.md
cat <<EOF >documents/api/caching.js.html.md
---
layout: plugin-documentation.html.ejs
title: Caching
---
EOF
dox --api <../caching.js >>guide/api/caching.js.html.md
cat <<EOF >guide/api/Configuration.js.html.md
---
layout: plugin-documentation.html.ejs
title: AkashaRender Configuration object
---
EOF
dox --api <../Configuration.js >>guide/api/Configuration.js.html.md
cat <<EOF >guide/api/HTMLRenderer.js.html.md
---
layout: plugin-documentation.html.ejs
title: HTML Renderer
---
EOF
dox --api <../HTMLRenderer.js >>guide/api/HTMLRenderer.js.html.md
cat <<EOF >guide/api/index.js.html.md
---
layout: plugin-documentation.html.ejs
title: AkashaRenderer
---
EOF
dox --api <../index.js >>guide/api/index.js.html.md
cat <<EOF >guide/api/Plugin.js.html.md
---
layout: plugin-documentation.html.ejs
title: AkashaRenderer Plugins
---
EOF
dox --api <../Plugin.js >>guide/api/Plugin.js.html.md
cat <<EOF >guide/api/render-cssless.js.html.md
---
layout: plugin-documentation.html.ejs
title: Rendering LESS files
---
EOF
dox --api <../render-cssless.js >>guide/api/render-cssless.js.html.md
cat <<EOF >guide/api/render-ejs.js.html.md
---
layout: plugin-documentation.html.ejs
title: Rendering EJS files
---
EOF
dox --api <../render-ejs.js >>guide/api/render-ejs.js.html.md
cat <<EOF >guide/api/render-md.js.html.md
---
layout: plugin-documentation.html.ejs
title: Rendering Markdown files
---
EOF
dox --api <../render-md.js >>guide/api/render-md.js.html.md
cat <<EOF >guide/api/render.js.html.md
---
layout: plugin-documentation.html.ejs
title: AkashaRenderer rendering engine
---
EOF
dox --api <../render.js >>guide/api/render.js.html.md
cat <<EOF >guide/api/Renderer.js.html.md
---
layout: plugin-documentation.html.ejs
title: Renderer base class
---
EOF
dox --api <../Renderer.js >>guide/api/Renderer.js.html.md