docgen: implement doc link resolution in current module (#18642)
This commit is contained in:
parent
c80e2c1736
commit
7ba2659f73
24 changed files with 1833 additions and 143 deletions
|
|
@ -273,6 +273,11 @@ func nimIdentNormalize*(s: string): string =
|
|||
##
|
||||
## That means to convert to lower case and remove any '_' on all characters
|
||||
## except first one.
|
||||
##
|
||||
## .. Warning:: Backticks (`) are not handled: they remain *as is* and
|
||||
## spaces are preserved. See `nimIdentBackticksNormalize
|
||||
## <dochelpers.html#nimIdentBackticksNormalize,string>`_ for
|
||||
## an alternative approach.
|
||||
runnableExamples:
|
||||
doAssert nimIdentNormalize("Foo_bar") == "Foobar"
|
||||
result = newString(s.len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue