Skip to content

Commit

Permalink
add to help
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 22, 2020
1 parent 55c3d38 commit bfee8ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions compiler/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,7 @@ type
implicitIncludes*: seq[string] # modules that are to be implicitly included
docSeeSrcUrl*: string # if empty, no seeSrc will be generated. \
# The string uses the formatting variables `path` and `line`.
docRoot*: AbsoluteDir
# `nim doc --docRoot:foo --project --outdir:docs foo/sub/main.nim`
# genrates: docs/sub/main.html
docRoot*: AbsoluteDir ## see nim --fullhelp for --docRoot

# the used compiler
cIncludes*: seq[AbsoluteDir] # directories to search for included files
Expand Down
2 changes: 2 additions & 0 deletions doc/advopt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Advanced options:
--clib:LIBNAME link an additional C library
(you should omit platform-specific extensions)
--project document the whole project (doc2)
--docRoot:path nim doc --docRoot:foo --project --outdir:docs foo/sub/main.nim
generates: docs/sub/main.html
--docSeeSrcUrl:url activate 'see source' for doc and doc2 commands
(see doc.item.seesrc in config/nimdoc.cfg)
--docInternal also generate documentation for non-exported symbols
Expand Down

0 comments on commit bfee8ed

Please sign in to comment.