forked from dlang/dlang.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chm-nav.dd
78 lines (75 loc) · 1.65 KB
/
chm-nav.dd
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
Ddoc
Macros:
DDOC=
[
{
"hook" : "",
"root" : "",
"nav" : [
{"t":"D Programming Language","a":"index.html"},
$(NAVIGATION)
{"t":"Change Log","a":"changelog/index.html"}
]
},
{
"hook" : "Language Reference",
"root" : "",
"nav" : [$(SUBNAV_SPEC)]
},
{
"hook" : "Library Reference",
"root" : "phobos/",
"nav" : [{"t":"Library Reference","a":"index.html"},$(MODULE_MENU)]
},
{
"hook" : "Articles",
"root" : "",
"nav" : [$(SUBNAV_ARTICLES)]
},
{
"hook" : "D-Specific Tools",
"root" : "",
"nav" : [$(SUBNAV_CLI_REFERENCE)]
},
{
"hook" : "Change Log",
"root" : "changelog/",
"nav" : [{"t":"Change Log","a":"index.html"},$(CHANGELOG_VERSIONS)]
},
]$(LF)
_=
DIVID=$2
B=$0
TT=$0
UL=$0
_LI=$0,
AMP=&
NBSP=
LATEST=
MENU={"t":"$2","a":"$1"},
MENU_W_SUBMENU=[{"t":"$2"},
MENU_W_SUBMENU_END=
MENU_W_SUBMENU_LINK=[{"t":"$2","a":"$1"},
MENU_INTERNAL_SEPARATOR=
ITEMIZE=$(ITEMS_HELPER $1, $+)],
ITEMS_HELPER = $1$(ITEMS_HELPER $+)
SUBMENU=$(SUBMENU2 $1,$+)],
SUBMENU2={"t":"$2","a":"$1"},
$(SUBMENU3 $+)
SUBMENU3=$(SUBMENU2 $+)
SUBMENU_MANUAL=$0],
SUBMENU_LINK={"t":"$2","a":"$1"},
SUBMENU_LINK_DIVIDER={"t":"$2","a":"$1"},
SUBNAV_TEMPLATE=$0
SUBNAV_HEAD={"t":"$3","a":"$2"},
MODULE=
{"t":"$1","a":"$2$(JOIN_LINE_TAIL $+).html"},
PACKAGE=[$1$(ITEMIZE $+)
PACKAGE_NAME={"t":"$1"},
CHANGELOG_VERSION_NIGHTLY=
CHANGELOG_VERSION_PRE={"t":"$1","a":"$1_pre.html"},
CHANGELOG_VERSION={"t":"$1","a":"$1.html"},
CHANGELOG_VERSIONS=
ESCAPES=/"/\"/
ROOT_DIR=
_=