https://issues.dlang.org/show_bug.cgi?id=18861
Issue ID: 18861
Summary: Some links from articles directory to spec directory
are wrong, giving 404 error
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
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.
--