[Issue 15460] New: Ddoc: merge the opening comment "<!-- Generated by Ddoc from filename.dd -->" into the default definition of DDOC

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 18 08:08:49 PST 2015


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

          Issue ID: 15460
           Summary: Ddoc: merge the opening comment "<!-- Generated by
                    Ddoc from filename.dd -->" into the default definition
                    of DDOC
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: andrei at erdani.com

In order to e.g. generate plaintext with Ddoc, the macro DDOC needs to be
$(BODY) so there's no additional adornments. That's nice and simple. However,
the annoying comment

        <!-- Generated by Ddoc from filename.dd -->

is still emitted. There's no good reason to emit it separately - make it part
of the DDOC default definition.

--


More information about the Digitalmars-d-bugs mailing list