Bug 17535 – dlangspec.pdf: enforce a maximal width for all code examples

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-06-21T07:01:59Z
Last change time
2017-12-18T22:55:29Z
Keywords
pull
Assigned to
No Owner
Creator
Seb

Comments

Comment #0 by greensunny12 — 2017-06-21T07:01:59Z
Automatic line breaks don't look like: http://imgur.com/2c5kUrj http://imgur.com/qXyfcV0 It's probably best if we enforce that everything within the Ddoc code block has a maximal width of X and thus force the "user" to specify the breaking manually. FYI: We have done this for the dlang-tour as well (we used 48 chars to ensure a great experience on mobile devices).
Comment #1 by greensunny12 — 2017-12-13T02:20:58Z
Comment #2 by github-bugzilla — 2017-12-13T03:45:08Z
Commit pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/c06380e2abf307572b7e139b3711fbf3999fcb78 Fix Issue 17535 - Normalize code line lengths to 80 columns or less
Comment #3 by github-bugzilla — 2017-12-18T22:55:29Z
Commit pushed to stable at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/c06380e2abf307572b7e139b3711fbf3999fcb78 Fix Issue 17535 - Normalize code line lengths to 80 columns or less