www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16113] New: Support CTFE in ddoc

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

          Issue ID: 16113
           Summary: Support CTFE in ddoc
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

Can we support CTFE in Ddoc? This would help to make more flexible layout
engine.

I have made a couple of improvement's to the dlang.org, but they all are JS
"post-processing" hacks, because at the moment one can't do this in Ddoc
See e.g.

https://github.com/dlang/dlang.org/pull/1288 (adding anchors)
https://github.com/dlang/dlang.org/pull/1307 (showing list of contributors)

A lot of other stuff (LaTeX support, search index, grouped overview menu, table
etc.) would also be possible then.

--
Jun 01 2016