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
Conventions-----------1. Newstdlibmodulesshouldgounder `Nim/lib/std/`. The rationale isto require
users to importvia`import std/foo` instead of `import foo`, whichwould cause
potentialconflictswithnimble packages. Notethatthisstillappliesfor new modules
inexistinglogical directories, e.g.:use `lib/std/collections/foo.nim`, not `lib/pure/collections/foo.nim`.
2. Newmodulenamesshouldpreferpluralformwhenever possible, e.g.:`std/sums.nim` instead of `std/sum.nim`. In particular, thisreduces chances of conflicts
betweenmodule name andthesymbolsit defines. Furthermore, modulenames should
use `snake_case` andnotusecapital letters, whichcauseissueswhen going
fromanOSwithoutcasesensitivitytoanOSwith it.
Current Output
the bug is that there is a new paragraph after The rationale is to require and after possible, e.g.:
@timotheecour Thanks, well spotted. Also this problem is present in 2 other places in the nim repo.
However you are not quite right: RST requires to have indentation on the second and subsequent lines of enum.item, otherwise the entire thing should be parsed as a single paragraph.
Example
Current Output
the bug is that there is a new paragraph after
The rationale is to require
and afterpossible, e.g.:
Expected Output
Additional Information
/cc @a-mr
The text was updated successfully, but these errors were encountered: