www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17121] New: DDoc documentation is out of date

https://issues.dlang.org/show_bug.cgi?id=17121

          Issue ID: 17121
           Summary: DDoc documentation is out of date
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: acehreli yahoo.com

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.

--
Jan 25 2017