-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmd2html_args.json
84 lines (83 loc) · 3.96 KB
/
md2html_args.json
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
{
"options": {
"verbose": true
},
"default": {
"input-root": "doc_src",
"output-root": "doc/content",
"template": "doc_src/templates/multipage.html",
"no-css": true,
"verbose": true
},
"documents": [
{ "input-root": "", "output-root": "", "input": "readme.txt", "title": "Home",
"page-flows": ["sections", "nav"] },
{ "input-glob": "sections/*.txt", "page-flows": ["sections", "nav"],
"title-from-variable": "title", "code-from-variable": "code",
"sort-by-variable": "SORT_ORDER" },
{ "input-glob": "sections/ref/*.txt", "page-flows": ["ref", "nav"],
"title-from-variable": "title", "code-from-variable": "code",
"sort-by-variable": "SORT_ORDER" }
],
"plugins": {
"variables": {
"html_lang": "en",
"burger_open_image": "layout/pict/burger.png",
"add_powered_by": true, "ad_exec_version": true, "add_generation_timestamp": false,
"show_source_link": true,
"theme": "light",
"add_more_prog_langs": true
},
"page-variables": {},
"relative-paths": {
"markers": ["path"],
"paths": {
"resource_path": "doc/",
"pict": "doc/pict/",
"doc_src": "doc_src/"
}
},
"page-flows": {
"header": [
{ "link": "readme.html", "title": "", "image": "favicon.png", "image_class": "logo_image",
"image_alt": "Logo" },
{ "link": "readme.html", "title": "Home", "class": "toggle_wide_only_inline" },
{ "link": "doc/content/sections/installation.html", "title": "Installation", "class": "toggle_wide_only_inline" },
{ "link": "doc/content/sections/usage.html", "title": "Usage", "class": "toggle_wide_only_inline" },
{ "link": "doc/content/index_page.html", "title": "Index", "class": "toggle_wide_only_inline" },
{ "link": "doc/content/index_page.html", "title": "", "class": "toggle_narrow_only_inline",
"image": "layout/pict/search.png", "image_class": "header_image index_image",
"image_alt": "Index" }
],
"header_wide_only": [
{ "link": "https://github.com/arctrong/md2html", "title": "GitHub", "external": true }
],
"sections": { "groups": ["sidebar"] },
"ref": { "groups": ["sidebar"] }
},
"ignore": { "markers": ["ignore"] },
"index": {"index": {"output": "index_page.html", "title": "Index", "index-cache": "index_cache.json",
"index-cache-relative": true, "letters": true, "letters-block": true,
"add-link-css": ["doc/layout/index.css"] }
},
"page-links": { "markers": ["page"] },
"wrap-code": {
"wrap_java": {"style": "code", "input-root": "sample_code/", "output-root": "doc/content/code/",
"template": "doc_src/templates/code.html", "variables": {"noPageTitle": true}}
},
"include-file": [
{ "markers": ["include_code"], "root-dir": "sample_code/" },
{ "markers": ["include_code_part"], "root-dir": "sample_code/",
"start-marker": "// INCLUDE FROM HERE" },
{ "markers": ["include_src"], "root-dir": "doc_src/", "recursive": true }
],
"replace": [
{ "markers": ["red"], "replace-with": "<span style=\"color:red;\">${1}</span>" },
{ "markers": ["ref"], "replace-with":
"<a class=\"ref\" href=\"<!--page refs-->#${1}\">${1}</a>",
"recursive": true },
{ "markers": ["refdef"], "replace-with":
"<a name=\"${1}\"></a><span class=\"refDef\">[${1}]</span>" }
]
}
}