Add ability for rst parser to continue on errors
This commit is contained in:
parent
5fa7d374c4
commit
926ae2ec64
5 changed files with 58 additions and 11 deletions
|
|
@ -437,6 +437,8 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
|
|||
conf.docSeeSrcUrl = arg
|
||||
of "docroot":
|
||||
conf.docRoot = if arg.len == 0: "@default" else: arg
|
||||
of "docignoreparseerrors":
|
||||
conf.docIgnoreParseErrors = true
|
||||
of "mainmodule", "m":
|
||||
discard "allow for backwards compatibility, but don't do anything"
|
||||
of "define", "d":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue