nim doc --backend:js, nim doc --doccmd:-d:foo, nim r --backend:js, --doccmd:skip + other improvements (#14278)
* `nim doc --backend:js|cpp...` `nim doc --doccmd:'-d:foo --threads:on'` `nim r --backend:cpp...` (implies --run --usenimcache) * --usenimcache works with all targets * --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst
This commit is contained in:
parent
d11cb9d495
commit
9502e39b63
22 changed files with 213 additions and 99 deletions
|
|
@ -4,8 +4,10 @@
|
|||
|
||||
Command:
|
||||
//compile, c compile project with default code generator (C)
|
||||
//r compile & run $nimcach/projname [arguments]
|
||||
//doc generate the documentation for inputfile
|
||||
//r compile to $nimcache/projname, run with [arguments]
|
||||
using backend specified by `--backend` (default: c)
|
||||
//doc generate the documentation for inputfile for
|
||||
backend specified by `--backend` (default: c)
|
||||
|
||||
Arguments:
|
||||
arguments are passed to the program being run (if --run option is selected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue