Bug 18861 – Some links from articles directory to spec directory are wrong, giving 404 error
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2018-05-15T06:10:01Z
Last change time
2018-07-11T05:21:09Z
Assigned to
No Owner
Creator
Zhang Zongren
Comments
Comment #0 by mywtfmp3 — 2018-05-15T06:10:01Z
In, https://dlang.org/articles/mixin.html
>Mixins (not to be confused with `template mixins`) enable string constants to be compiled as regular D code and inserted into the program.
`template mixins` links to
articles/spec/template-mixin.html
instead of
spec/template-mixin.html
There are a few errors like this.
Another issue, which isn't 404 error,
in https://dlang.org/articles/cpptod.html
>The D version is analogous, though a little simpler, taking advantage of `Eponymous Templates` - promotion of single template members to the enclosing name space
The `Eponymous Templates` gives a hard link to
dlang.org/spec/template.html#implicit_template_properties
instead of a relative link, which could be probamatic for offline docs.
I will post a fix myself.