Bug 17121 – DDoc documentation is out of date

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-01-25T19:23:04Z
Last change time
2019-12-12T17:13:25Z
Keywords
pull
Assigned to
No Owner
Creator
Ali Cehreli

Comments

Comment #0 by acehreli — 2017-01-25T19:23:04Z
Currently, the documentation at http://dlang.org/spec/ddoc.html has D_CODE = <pre class="d_code">$0</pre> However, the compiler actually uses the following: D_CODE = <section class="code_listing"> <div class="code_sample"> <div class="dlang"> <ol class="code_lines"> <li><code class="code">$0</code></li> </ol> </div> </div> </section> I'm not aware of other differences.
Comment #1 by doob — 2017-01-26T07:38:02Z
The new predefined macros are in a separate file [1]. Is it possible to embed that in the rest of the Ddoc documentation? [1] https://github.com/dlang/dmd/blob/master/res/default_ddoc_theme.ddoc
Comment #2 by greensunny12 — 2017-06-15T05:35:34Z
pull https://github.com/dlang/dlang.org/pull/1703 though I am not sure on the best solution for this.
Comment #3 by bugzilla — 2019-12-12T17:13:25Z
Seems to be fixed by PR #1805.