File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -2120,3 +2120,17 @@ dt.d_decl:hover .decl_anchor {
2120
2120
.message-box-green {
2121
2121
background-color : # 4EBA0F ;
2122
2122
}
2123
+
2124
+ /**
2125
+ Custom modifications to the navigation menu
2126
+ - Insert an Internal API divider before the dmd menu item
2127
+ */
2128
+ .modlist-submenu-dmd ::before {
2129
+ content : "Internal API" ;
2130
+ display : block;
2131
+ height : 1em ;
2132
+ border-top : 1px solid # ccc ;
2133
+ margin-top : 1em ;
2134
+ margin-bottom : 1em ;
2135
+ padding-top : 0.5em ;
2136
+ }
Original file line number Diff line number Diff line change 221
221
MDASH=$(T nobr,  — )
222
222
METACODE=$(SPANC metacode, $0)
223
223
MENU = <li><a href='$1'><span>$+</span></a></li>
224
- MENU_W_SUBMENU = <li class='expand-container'><a class='expand-toggle' href='#'><span>$0 </span></a>
224
+ MENU_W_SUBMENU = <li class='expand-container modlist-submenu-$1 '><a class='expand-toggle' href='#'><span>$(TT $1) </span></a>
225
225
MENU_W_SUBMENU_LINK = <li class='expand-container'><a class='expand-toggle' href='$1'><span>$+</span></a>
226
226
MENU_W_SUBMENU_END = </li>
227
227
MESSAGE_BOX = $(DIVC message-box message-box-$1, $+)
Original file line number Diff line number Diff line change @@ -416,12 +416,12 @@ ${GENERATED}/${LATEST}.ddoc :
416
416
${GENERATED}/modlist-${LATEST}.ddoc : tools/modlist.d ${STABLE_DMD} $(DRUNTIME_LATEST_DIR ) $(PHOBOS_LATEST_DIR ) $(DMD_LATEST_DIR )
417
417
mkdir -p $(dir $@ )
418
418
$(STABLE_RDMD ) $< $(DRUNTIME_LATEST_DIR ) $(PHOBOS_LATEST_DIR ) $(DMD_LATEST_DIR ) $(MOD_EXCLUDES_LATEST ) \
419
- $(addprefix --dump , object std etc core) --dump dmd > $@
419
+ $(addprefix --dump , object std etc core dmd rt) > $@
420
420
421
421
${GENERATED}/modlist-release.ddoc : tools/modlist.d ${STABLE_DMD} $(DRUNTIME_DIR ) $(PHOBOS_DIR ) $(DMD_DIR )
422
422
mkdir -p $(dir $@ )
423
423
$(STABLE_RDMD ) $< $(DRUNTIME_DIR ) $(PHOBOS_DIR ) $(DMD_DIR ) $(MOD_EXCLUDES_RELEASE ) \
424
- $(addprefix --dump , object std etc core) --dump dmd > $@
424
+ $(addprefix --dump , object std etc core dmd rt) > $@
425
425
426
426
${GENERATED}/modlist-prerelease.ddoc : tools/modlist.d ${STABLE_DMD} $(DRUNTIME_DIR ) $(PHOBOS_DIR ) $(DMD_DIR )
427
427
mkdir -p $(dir $@ )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct Tree
36
36
void dumpRoot ()
37
37
{
38
38
writeln();
39
- writefln(" $(MENU_W_SUBMENU $(TT %s) )" , name);
39
+ writefln(" $(MENU_W_SUBMENU %s )" , name);
40
40
writefln(" $(ITEMIZE" );
41
41
dumpChildren([name]);
42
42
writeln(" )" );
You can’t perform that action at this time.
0 commit comments