[Issue 9676] New: Html doc generation with <del>...</del> around deprecated functions names

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 9 08:58:43 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9676

           Summary: Html doc generation with <del>...</del> around
                    deprecated functions names
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2013-03-09 08:58:42 PST ---
A low priority enhancement request.

This D code:


module test;
///
deprecated void foo() {}
void main() {}



Compiled with doc generation (-D) gives the HTML:



<html><head>
        <META http-equiv="content-type" content="text/html; charset=utf-8">
        <title>test</title>
        </head><body>
        <h1>test</h1>
        <!-- Generated by Ddoc from temp.d -->
<br><br>
<dl><dt><big><a name="foo"></a>deprecated void <u>foo</u>();
</big></dt>
<dd><br><br>
</dd>
</dl>
<hr><small>Page generated by <a href="http://dlang.org/ddoc.html">Ddoc</a>.
</small>
</body></html>



I suggest to add <del>...</del> pairs around the name of deprecated functions:

<dl><dt><big><a name="foo"></a>deprecated <del>void <u>myfunc</u>();</del>

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list