You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have an additional section "Limitations". In this section, stuff, that does not work, but is not considered a bug, can be documented.
For example: In std.zip I used it, without being aware that this is not a standard section. Among others, this section describes, that some compression methods and encryption is not supported.
One more usecase: abs from std.math does not work correctly for int.min (and other signed integral types). Fixing this causes trouble or slows down the code. (Same for std.algorithm.comparison: min with NaNs). To avoid this, it's better to document the limitations. Putting this in the "Bugs" section would cause some confusions, because a bug is something, that should be fixed sooner or later. But here we already decided to not fix it.
The text was updated successfully, but these errors were encountered:
Ddoc doesn't have pre-defined sections. It uses the colon to do so.
So as long as you write sth along:
Limitations:
Your limitations here.
This will be displayed similarly to the other "sections".
Ddoc supports custom macros with which you could create a custom warning . However, it doesn't look like we'll get custom warning boxes (https://github.com/dlang/dlang.org/pull/2308).
Berni reported this on 2019-10-06T14:34:26Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=20272
CC List
Description
The text was updated successfully, but these errors were encountered: