Skip to content

Commit 9a035ee

Browse files
committed
Remove PHOBOS macro in favor in REF
1 parent 5720093 commit 9a035ee

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

dlang.org.ddoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ _=
338338
PC=$(TC p, $1, $+)
339339
_=
340340

341-
PHOBOS=$(SPANC phobos, $(AHTTPS dlang.org/phobos/std_$1.html#$2, $(TAIL $+)))
342341
PHOBOSSRC=$(SPANC phobos_src, $(AHTTPS github.com/dlang/phobos/blob/master/$0, $0))
343342
_=
344343

spec/arrays.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,8 @@ $(H4 $(LEGACY_LNAME2 strings_unicode, strings-unicode, Strings and Unicode))
919919
primitives it's assumed to be enforced by the user.
920920
)
921921
$(P The standard library lends a hand for comparing strings with mixed encodings
922-
(by transparently decoding, see $(PHOBOS algorithm, cmp, std.algorithm.cmp)),
923-
$(PHOBOS uni, icmp, case-insensitive comparison) and $(PHOBOS uni, normalize, normalization).
922+
(by transparently decoding, see $(REF cmp, std,algorithm)),
923+
$(REF_ALTTEXT case-insensitive comparison icmp, std,uni) and $(REF_ALTTEXT normalization, normalize, std,uni).
924924
)
925925
$(P Last but not least, a desired string sorting order differs
926926
by culture and language and is usually nothing like code point

spec/cpp_interface.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ $(H2 $(LNAME2 packing-and-alignment, Packing and Alignment))
726726
)
727727

728728
$(P D supports bitfields in the standard library: see
729-
$(PHOBOS bitmanip, bitfields, std.bitmanip.bitfields).
729+
$(REF bitfields, std, bitmanip).
730730
)
731731

732732
$(H2 $(LNAME2 lifetime-management, Lifetime Management))

spec/latex.ddoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ _=
242242

243243
P= $0 \par
244244
PERCENT=\%
245-
PHOBOS=$(LINK2 phobos/std_$1.html\#$2, $3)
246245
_=
247246

248247
RAWHTML=\begin{lstlisting}[language=html,breaklines=true,breakatwhitespace=true]$0\end{lstlisting}

spec/property.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ $(H2 $(LNAME2 stringof, .stringof Property))
176176
$(BEST_PRACTICE Do not use `.stringof` for code generation.
177177
Instead use the
178178
$(DDSUBLINK spec/traits, identifier, identifier) trait,
179-
or one of the Phobos helper functions such as $(PHOBOS traits, fullyQualifiedName, std.traits.fullyQualifiedName).)
179+
or one of the Phobos helper functions such as $(REF fullyQualifiedName, std,traits).)
180180

181181
$(H2 $(LNAME2 sizeof, .sizeof Property))
182182

0 commit comments

Comments
 (0)