Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Generate documentation: nim doc fileToDocument.nim.
Current Output
The Imports section of the generated HTML documentation lists the imported modules module1 and module2. However, the links link to module1.html and module2.html that are supposed to be located next to the generated HTML documentation.
Expected Output
Since the import path is specified with multiple segments, the multiple segments should be reflected in the text in the generated documentation. Also, the links should preserve the path segements of the import and link to folder/module1.html and folder/module2.html instead.
Additional Information
$ nim -v
Nim Compiler Version 1.0.4 [Windows: amd64]
Compiled at 2019-11-27
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: c8998c498f5e2a0874846eb31309e1d1630faca6
active boot switches: -d:release
Example
file fileToDocument.nim
Generate documentation:
nim doc fileToDocument.nim
.Current Output
The
Imports
section of the generated HTML documentation lists the imported modulesmodule1
andmodule2
. However, the links link tomodule1.html
andmodule2.html
that are supposed to be located next to the generated HTML documentation.Expected Output
Since the import path is specified with multiple segments, the multiple segments should be reflected in the text in the generated documentation. Also, the links should preserve the path segements of the import and link to
folder/module1.html
andfolder/module2.html
instead.Additional Information