Skip to content

Better menus for dlang.org #780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 19, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions attribute.dd
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ extern (Windows):
$(LINK2 http://en.wikipedia.org/wiki/X86_calling_conventions, stdcall) convention.)

$(P Note that a lone $(D extern) declaration is used as a
$(LINK2 declaration.html#extern, storage class).)
$(DDSUBLINK declaration, extern, storage class).)

$(H4 C++ $(LNAME2 namespace, Namespaces))

Expand Down Expand Up @@ -504,11 +504,11 @@ $(H3 $(LNAME2 disable, $(D @disable) Attribute))
}
---

$(P $(LINK2 struct.html#Struct-Constructor, Disabling struct no-arg constructor)
$(P $(DDSUBLINK struct, Struct-Constructor, Disabling struct no-arg constructor)
disallows default construction of the struct.
)

$(P $(LINK2 struct.html#StructPostblit, Disabling struct postblit)
$(P $(DDSUBLINK struct, StructPostblit, Disabling struct postblit)
makes the struct not copyable.
)

Expand Down Expand Up @@ -554,19 +554,19 @@ $(H3 $(LNAME2 nogc, $(D @nogc) Attribute))

$(H3 $(LNAME2 property, $(D @property) Attribute))

$(P See $(LINK2 function.html#property-functions, Property Functions).)
$(P See $(DDSUBLINK function, property-functions, Property Functions).)

$(H3 $(LNAME2 nothrow, $(D nothrow) Attribute))

$(P See $(LINK2 function.html#nothrow-functions, Nothrow Functions).)
$(P See $(DDSUBLINK function, nothrow-functions, Nothrow Functions).)

$(H3 $(LNAME2 pure, $(D pure) Attribute))

$(P See $(LINK2 function.html#pure-functions, Pure Functions).)
$(P See $(DDSUBLINK function, pure-functions, Pure Functions).)

$(H3 $(LNAME2 ref, $(D ref) Attribute))

$(P See $(LINK2 function.html#ref-functions, Ref Functions).)
$(P See $(DDSUBLINK function, ref-functions, Ref Functions).)

$(H3 $(LNAME2 override, $(D override) Attribute))

Expand Down
4 changes: 2 additions & 2 deletions class.dd
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ new(1,2) Foo(a); // calls new(Foo.sizeof,1,2)
)

$(P See also
$(DPLLINK memory.html#newdelete, Explicit Class Instance Allocation).
$(DDLINK1 memory, newdelete, Explicit Class Instance Allocation).
)

$(H3 $(LNAME2 deallocators, Class Deallocators))
Expand Down Expand Up @@ -969,7 +969,7 @@ delete f;
)

$(P See also
$(DPLLINK memory.html#newdelete, Explicit Class Instance Allocation).
$(DDSUBLINK memory, newdelete, Explicit Class Instance Allocation).
)

$(H3 $(LEGACY_LNAME2 AliasThis, alias-this, Alias This))
Expand Down
53 changes: 26 additions & 27 deletions cpp0x.dd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $(SECTION3 $(LNAME2 move-semantics, Extending Move Semantics To *this (Revision
$(SECTION3 $(LNAME2 static-assert, static_assert),

$(P $(LINK2 $(NDOCS)2004/n1720.html, N1720):
$(LINK2 version.html#StaticAssert, static assert) is
$(DDSUBLINK version, StaticAssert, static assert) is
part of D.
)

Expand All @@ -117,7 +117,7 @@ $(SECTION3 $(LNAME2 template-aliases, Template aliases for C++),

$(P $(LINK2 $(NDOCS)2007/n2258.pdf, N2258):
Both $(LINK2 template.html, templates and template instantiations)
can be $(LINK2 declaration.html#alias, aliased):
can be $(DDSUBLINK declaration, alias, aliased):
)
---
struct S(T) { T int; }
Expand Down Expand Up @@ -145,7 +145,7 @@ $(SECTION3 $(LNAME2 extern-template, Extern template),
$(SECTION3 $(LNAME2 variadic-templates, Variadic Templates),

$(P $(LINK2 $(NDOCS)2007/n2242.pdf, N2242):
D's $(LINK2 template.html#variadic-templates, variadic templates).
D's $(DDSUBLINK template, variadic-templates, variadic templates).
)

)
Expand All @@ -160,7 +160,7 @@ $(SECTION3 $(LNAME2 variadic-template-templates, Extending Variadic Template Tem
$(SECTION3 $(LNAME2 nullptr, A name for the null pointer: nullptr),

$(P $(LINK2 $(NDOCS)2007/n2431.pdf, N2431):
D has the $(LINK2 expression.html#null, null) equivalent.
D has the $(DDSUBLINK expression, null, null) equivalent.
)

)
Expand Down Expand Up @@ -200,7 +200,7 @@ $(SECTION3 $(LNAME2 extended-friends, Extended friend Declarations),

$(P $(LINK2 $(NDOCS)2005/n1791.pdf, N1791):
All code in a module has
$(LINK2 attribute.html#ProtectionAttribute, access)
$(DDSUBLINK attribute, ProtectionAttribute, access)
to private members
of any struct or class declared in that module that is in
scope.
Expand All @@ -215,7 +215,7 @@ $(SECTION3 $(LNAME2 extended-friends, Extended friend Declarations),
$(SECTION3 $(LNAME2 constant-expressions, Generalized Constant Expressions),

$(P $(LINK2 $(NDOCS)2007/n2235.pdf, N2235):
D has $(LINK2 function.html#interpretation, compile time function execution)
D has $(DDSUBLINK function, interpretation, compile time function execution)
(CTFE). CTFE is much more flexible, as functions to be evaluated
at compile time:
)
Expand Down Expand Up @@ -251,9 +251,9 @@ $(SECTION3 $(LNAME2 c99-preprocessor, Synchronizing the C++ preprocessor with C9
$(SECTION3 $(LNAME2 alignment, Adding Alignment Support to the C++ Programming Language),

$(P $(LINK2 $(NDOCS)2007/n2341.pdf, N2341):
D has the $(LINK2 attribute.html#align, align)
D has the $(DDSUBLINK attribute, align, align)
attribute to specify the alignment
of declarations, and the $(LINK2 property.html#alignof, .alignof)
of declarations, and the $(DDSUBLINK property, alignof, .alignof)
property to
determine the alignment size of an expression or type.
)
Expand Down Expand Up @@ -303,7 +303,7 @@ $(SECTION3 $(LNAME2 delegating-ctors, Delegating Constructors),

$(P $(LINK2 $(NDOCS)2006/n1986.pdf, N1986):
D has
$(LINK2 class.html#delegating-constructors, delegating constructors).
$(DDSUBLINK class, delegating-constructors, delegating constructors).
)

)
Expand All @@ -321,7 +321,7 @@ $(SECTION3 $(LNAME2 char16_t, New Character Types in C++),
C++0x adds new character types char16_t and char32_t,
which are equivalent to D's $(LINK2 type.html, wchar and dchar types).
The u and U character literal prefixes are equivalent to the
D $(LINK2 lex.html#StringLiteral, w and d postfixes).
D $(DDSUBLINK lex, StringLiteral, w and d postfixes).
)

)
Expand All @@ -339,7 +339,7 @@ $(SECTION3 $(LNAME2 right-angle-brackets, Right Angle Brackets),
$(SECTION3 $(LNAME2 type-deduction, Deducing the type of variable from its initializer expression),

$(P $(LINK2 $(NDOCS)2006/n1984.pdf, N1984):
D has $(LINK2 declaration.html#AutoDeclaration, type inference)
D has $(DDSUBLINK declaration, AutoDeclaration, type inference)
from initializers.
)

Expand All @@ -348,7 +348,7 @@ $(SECTION3 $(LNAME2 type-deduction, Deducing the type of variable from its initi
$(SECTION3 $(LNAME2 auto-declarations, The Syntax of auto Declarations),

$(P $(LINK2 $(NDOCS)2008/n2546.html, N2546):
D $(LINK2 attribute.html#auto, auto declarations)
D $(DDSUBLINK attribute, auto, auto declarations)
do not have syntactic issues.
)

Expand All @@ -372,7 +372,7 @@ $(SECTION3 $(LNAME2 lambda, (monomorphic) Lambda expressions and closures for C+

$(P $(LINK2 $(NDOCS)2008/n2550.pdf, N2550):
D has $(GLINK2 expression, FunctionLiteral)s (lambda expressions) and
$(LINK2 function.html#closures, closures).
$(DDSUBLINK function, closures, closures).
)

)
Expand Down Expand Up @@ -401,7 +401,7 @@ $(SECTION3 $(LNAME2 concurrency, Sequencing and the concurrency memory model),
$(SECTION3 $(LNAME2 raw-strings, Raw String Literals),

$(P $(LINK2 $(NDOCS)2007/n2442.html, N2442):
D has $(LINK2 lex.html#StringLiteral, wysiwyg and delimited strings),
D has $(DDSUBLINK lex, StringLiteral, wysiwyg and delimited strings),
and all strings are Unicode.
)

Expand All @@ -411,7 +411,7 @@ $(SECTION3 $(LNAME2 pod, PODs unstrung),

$(P $(LINK2 $(NDOCS)2007/n2294.html, N2294):
All D $(LINK2 struct.html, structs) are
$(LINK2 glossary.html#pod, POD (Plain Old Data)).
$(DDSUBLINK glossary, pod, POD (Plain Old Data)).
D $(LINK2 class.html, classes) are reference, polymorphic types.
)

Expand All @@ -427,15 +427,15 @@ $(SECTION3 $(LNAME2 exceptions, Propagating exceptions when joining threads),
$(SECTION3 $(LNAME2 decltype, Decltype),

$(P $(LINK2 $(NDOCS)2007/n2343.pdf, N2343):
The equivalent D construct is $(LINK2 declaration.html#typeof, typeof).
The equivalent D construct is $(DDSUBLINK declaration, typeof, typeof).
)

)

$(SECTION3 $(LNAME2 sizeof, Extending sizeof),

$(P $(LINK2 $(NDOCS)2007/n2253.html, N2253):
Using $(LINK2 property.html#sizeof, sizeof) without a $(I this) object:
Using $(DDSUBLINK property sizeof, sizeof) without a $(I this) object:
---
struct S
{
Expand All @@ -459,7 +459,7 @@ void test()
$(SECTION3 $(LNAME2 utf8-literals, UTF-8 Literals),

$(P $(LINK2 $(NDOCS)2007/n2442.html, N2442):
$(LINK2 lex.html#StringLiteral, Char string literals)
$(DDSUBLINK lex, StringLiteral, Char string literals)
are in UTF-8 format.
)

Expand All @@ -469,7 +469,7 @@ $(SECTION3 $(LNAME2 ucs-in-literals, Universal Character Names in Literals),

$(P $(LINK2 $(NDOCS)2007/n2170.html, N2170):
All Unicode characters are allowed in
$(LINK2 lex.html#StringLiteral, string literals).
$(DDSUBLINK lex, StringLiteral, string literals).
Surrogate pair halves are not allowed unless hex literal notation
is used.
)
Expand All @@ -478,8 +478,8 @@ $(SECTION3 $(LNAME2 ucs-in-literals, Universal Character Names in Literals),

$(SECTION3 $(LNAME2 defaulted, Defaulted and Deleted Functions),

$(P $(LINK2 $(NDOCS)2007/n2326.html#delete, N2326):
D alows individual functions to be marked as $(LINK2 attribute.html#disable, disabled).
$(P $(DDSUBLINK $(NDOCS)2007/n2326, delete, N2326):
D alows individual functions to be marked as $(DDSUBLINK attribute, disable, disabled).
)

)
Expand Down Expand Up @@ -533,9 +533,9 @@ $(SECTION3 $(LNAME2 initializer-lists, Initializer lists),

$(P $(LINK2 $(NDOCS)2008/n2531.pdf, N2531):
D has
$(LINK2 struct.html#StructLiteral, struct literals),
$(LINK2 expression.html#ArrayLiteral, array literals),
and $(LINK2 expression.html#AssocArrayLiteral, associative array literals).
$(DDSUBLINK struct, StructLiteral, struct literals),
$(DDSUBLINK expression, ArrayLiteral, array literals),
and $(DDSUBLINK expression, AssocArrayLiteral, associative array literals).
)

)
Expand All @@ -555,7 +555,7 @@ $(SECTION3 $(LNAME2 member-initializers, Member Initializers),

$(P $(LINK2 $(NDOCS)2007/n2426.htm, N2426):
D has
$(LINK2 class.html#class-default-initializer, member initializers),
$(DDSUBLINK class, class-default-initializer, member initializers),
which are called $(I default initializers).
)

Expand Down Expand Up @@ -671,9 +671,8 @@ $(SECTION3 $(LNAME2 for-loop, Proposal for new for-loop),

$(P $(LINK2 $(NDOCS)2007/n2394.html, N2394):
This is equivalent to the D
$(LINK2 statement.html#ForeachRangeStatement, $(I ForeachRangeStatement)).
$(DDSUBLINK statement, ForeachRangeStatement, $(I ForeachRangeStatement)).
)

)

$(SECTION3 $(LNAME2 general-attributes, General Attributes for C++),
Expand Down
Loading