digitalmars.D - Ddoc specification needed
- =?UTF-8?Q?Ali_=c3=87ehreli?= (5/5) Jan 25 2017 A change in one of the recent compilers broke my use of Ddoc because
- =?UTF-8?Q?Ali_=c3=87ehreli?= (17/21) Jan 25 2017 Ok, the output of 'strings dmd' shows me the following:
- Jacob Carlborg (9/10) Jan 25 2017 To have _complete_ control you need to redefine all the predefined
- =?UTF-8?Q?Ali_=c3=87ehreli?= (3/7) Jan 25 2017 Thank you, that helps a lot!
A change in one of the recent compilers broke my use of Ddoc because code sections that are separated by --- now have new XML tags like <section class="code_listing"> which my current CSS is unaware of. What do I need to know to have complete control of the situation? Ali
Jan 25 2017
On 01/25/2017 11:07 AM, Ali Çehreli wrote:A change in one of the recent compilers broke my use of Ddoc because code sections that are separated by --- now have new XML tags like <section class="code_listing"> which my current CSS is unaware of. What do I need to know to have complete control of the situation?Ok, the output of 'strings dmd' shows me 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> Instead of the documented D_CODE = <pre class="d_code">$0</pre> Opened issue: https://issues.dlang.org/show_bug.cgi?id=17121 Ali
Jan 25 2017
On 2017-01-25 20:07, Ali Çehreli wrote:What do I need to know to have complete control of the situation?To have _complete_ control you need to redefine all the predefined macros, even if they're exactly the same as the predefined version. Otherwise this can happened at any time again. Fortunately the predefined macros are now in a separate file [1], making it much easier to extract the predefined macros. [1] https://github.com/dlang/dmd/blob/master/res/default_ddoc_theme.ddoc -- /Jacob Carlborg
Jan 25 2017
On 01/25/2017 11:36 PM, Jacob Carlborg wrote:Fortunately the predefined macros are now in a separate file [1], making it much easier to extract the predefined macros. [1] https://github.com/dlang/dmd/blob/master/res/default_ddoc_theme.ddocThank you, that helps a lot! Ali
Jan 25 2017