Bug 15673 – [dox] atan2 docs have broken formatting

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-02-12T08:05:00Z
Last change time
2016-06-02T14:42:22Z
Assigned to
nobody
Creator
grogan.colin

Comments

Comment #0 by grogan.colin — 2016-02-12T08:05:27Z
The formatting of the documentation of atan2 on dlang.org is quite weird. Particularly this text: y x atan(y, x) anything anything ±0.0 >0.0 ±0.0 ±0.0 +0.0 ±0.0 ±0.0 <0.0 ±π ±0.0 -0.0 ±π >0.0 ±0.0 π/2 <0.0 ±0.0 -π/2 >0.0 ∞ ±0.0 ±∞ anything ±π/2 >0.0 -∞ ±π ±∞ ∞ ±π/4 ±∞ -∞ ±3π/4
Comment #1 by hsteoh — 2016-02-12T15:32:29Z
This looks like a bug in the new doc generation code. It's failing to format tables correctly.
Comment #2 by hsteoh — 2016-02-12T15:33:55Z
You can see the intended formatting here: https://dlang.org/phobos-prerelease/std_math#.atan2
Comment #3 by ag0aep6g — 2016-02-12T15:34:45Z
The problem is with macro definitions in ddox. I've filed an issue on ddox: https://github.com/rejectedsoftware/ddox/issues/116
Comment #4 by ag0aep6g — 2016-02-17T22:43:06Z
(In reply to ag0aep6g from comment #3) > The problem is with macro definitions in ddox. I've filed an issue on ddox: > https://github.com/rejectedsoftware/ddox/issues/116 The ddox issue has been fixed. For the fix to reach dlang.org there will have to be a ddox release, and the dlang.org repository will have to be updated to use it.
Comment #5 by sludwig — 2016-06-02T14:42:22Z
Fix has been deployed.