Skip to content

Commit b85173c

Browse files
authored
[prman.dd] [intro.dd] [spec.ddoc] Few small fix. (#3169)
* add SUBNAV to this page * add HEADERNAV_TOC to this page. fix to LNAME2. * fix SUBNAV_HEAD. (Required for 'narrow layouts') * Fixed the anchor to lowercase.
1 parent fa001ac commit b85173c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

foundation/prman.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ $(UL
9090

9191
Macros:
9292
TITLE=Pull-Request/Issue Manager Responsibilities
93+
SUBNAV=$(SUBNAV_FOUNDATION)

spec/intro.dd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Introduction,
44

5+
$(HEADERNAV_TOC)
6+
57
$(P D is a general-purpose systems programming language with a C-like syntax that compiles to native code.
68
It is statically typed and supports both automatic $(LPAREN)garbage collected$(RPAREN) and manual memory management.
79
D programs are structured as modules that can be compiled separately and linked with external libraries
@@ -10,7 +12,7 @@ to create native libraries or executables.)
1012
$(P This document is the reference manual for the D Programming Language. For more information and
1113
other documents$(COMMA) see $(LINK2 https://dlang.org/, The D Language Website).)
1214

13-
$(H2 Phases of Compilation)
15+
$(H2 $(LNAME2 phases-of-compilation, Phases of Compilation))
1416

1517
$(P The process of compiling is divided into multiple phases. Each phase is
1618
independent of subsequent phases. For example, the scanner is not affected by

spec/spec.ddoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $(T style,
3333
counter-increment: h1;
3434
content: counter(h1) ". ";
3535
}
36-
h2::before {
36+
.hyphenate h2::before {
3737
counter-increment: h2;
3838
content: counter(h1) "." counter(h2) " ";
3939
}
@@ -57,7 +57,7 @@ $(T style,
5757
}
5858
)
5959

60-
SUBNAV_HEAD = $(DIVC head, $(H5 $1) $(TC p, $4, $(LINK2 $2, $3)))
60+
SUBNAV_HEAD = $(DIVC head, $(H2 $1) $(TC p, $4, $(LINK2 $2, $3)))
6161
SUBNAV=$(SUBNAV_SPEC)
6262
SUBNAV_SPEC=
6363
$(SUBNAV_TEMPLATE

0 commit comments

Comments
 (0)