Skip to content

Commit fe7622d

Browse files
authored
Merge pull request #2195 from wilzbach/remove-phobos
Remove PHOBOS macro in favor in REF merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2 parents 496dd44 + 57a1cc6 commit fe7622d

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

dlang.org.ddoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ _=
334334
PC=$(TC p, $1, $+)
335335
_=
336336

337-
PHOBOS=$(SPANC phobos, $(AHTTPS dlang.org/phobos/std_$1.html#$2, $(TAIL $+)))
338337
PHOBOSSRC=$(SPANC phobos_src, $(AHTTPS github.com/dlang/phobos/blob/master/$0, $0))
339338
_=
340339

spec/arrays.dd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -907,18 +907,18 @@ d = 'd'; // d is assigned the character 'd'
907907

908908
$(H4 $(LEGACY_LNAME2 strings_unicode, strings-unicode, Strings and Unicode))
909909
$(P Note that built-in comparison operators operate on a
910-
$(HTTPS goo.gl/zRY1K, code unit) basis.
910+
$(LINK2 http://www.unicode.org/glossary/#code_unit, code unit) basis.
911911
The end result for valid strings is the same as that of
912-
$(HTTPS goo.gl/WR424, code point)
913-
for $(HTTPS goo.gl/WR424, code point)
912+
$(LINK2 http://www.unicode.org/glossary/#code_point, code point)
913+
for $(LINK2 http://www.unicode.org/glossary/#code_point, code point)
914914
comparison as long as both strings are in the same
915-
$(HTTPS goo.gl/3DKfI, normalization form).
915+
$(LINK2 http://www.unicode.org/glossary/#normalization_form, normalization form).
916916
Since normalization is a costly operation not suitable for language
917917
primitives it's assumed to be enforced by the user.
918918
)
919919
$(P The standard library lends a hand for comparing strings with mixed encodings
920-
(by transparently decoding, see $(PHOBOS algorithm, cmp, std.algorithm.cmp)),
921-
$(PHOBOS uni, icmp, case-insensitive comparison) and $(PHOBOS uni, normalize, normalization).
920+
(by transparently decoding, see $(REF cmp, std,algorithm)),
921+
$(REF_ALTTEXT case-insensitive comparison, icmp, std,uni) and $(REF_ALTTEXT normalization, normalize, std,uni).
922922
)
923923
$(P Last but not least, a desired string sorting order differs
924924
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
@@ -244,7 +244,6 @@ _=
244244

245245
P= $0 \par
246246
PERCENT=\%
247-
PHOBOS=$(LINK2 phobos/std_$1.html\#$2, $3)
248247
_=
249248

250249
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)