Skip to content

Commit ff7eca8

Browse files
committed
Prime Ddoc pages with SPEC_HEADERNAV_TOC
1 parent b3a0550 commit ff7eca8

38 files changed

+77
-0
lines changed

spec/abi.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Application Binary Interface,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(P A D implementation that conforms to the D ABI (Application Binary
68
Interface)
79
will be able to generate libraries, DLL's, etc., that can interoperate

spec/arrays.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Arrays,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(H2 $(LNAME2 array-kinds, Kinds))
68

79
$(P There are four kinds of arrays:)

spec/attribute.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Attributes,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(GRAMMAR
68
$(GNAME AttributeSpecifier):
79
$(GLINK Attribute) $(D :)

spec/betterc.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Better C,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
`-betterC` is a command-line flag for `dmd`,
68
which restricts the compiler's support of certain runtime features.
79
Notably, D programs or libraries compiled with `betterC` aren't linked with Druntime.

spec/class.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Classes,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(P The object-oriented features of D all come from classes. The class
68
hierarchy
79
has as its root the class Object. Object defines a minimum level of functionality

spec/const3.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(D_S Type Qualifiers,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(P Type qualifiers modify a type by applying a $(GLINK2 declaration, TypeCtor).
68
$(I TypeCtor)s are: $(D const), $(D immutable), $(D shared), and $(D inout).
79
Each applies transitively to all subtypes.

spec/contracts.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Contract Programming,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(P Contracts are a breakthrough technique to reduce the programming effort
68
for large projects. Contracts are the concept of preconditions, postconditions,
79
errors, and invariants.

spec/cpp_interface.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Interfacing to C++,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(P This document specifies how to interface with C++ directly.)
68

79
$(P It is also possible to indirectly interface with C++ code, either

spec/ddoc.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Embedded Documentation,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(P
68
The D programming language enables embedding both contracts and test
79
code along side the actual code, which helps to keep them all

spec/declaration.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Ddoc
22

33
$(SPEC_S Declarations,
44

5+
$(SPEC_HEADERNAV_TOC)
6+
57
$(GRAMMAR
68
$(GNAME Declaration):
79
$(GLINK2 function, FuncDeclaration)

0 commit comments

Comments
 (0)