summary refs log tree commit diff stats
path: root/tests/nimdoc
Commit message (Collapse)AuthorAgeFilesLines
* fixes #22939; fixes #16890; push should but doesn't apply to importc … ↵ringabout2023-11-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | (#22944) …var/let symbols fixes #22939 fixes #16890 Besides, it was applied to let/const/var with pragmas, now it is universally applied. ```nim {.push exportc.} proc foo = let bar = 12 echo bar {.pop.} ``` For example, the `bar` variable will be affected by `exportc`.
* clean up SOME pending/xxx/issue link comments (#21826)metagn2023-05-112-18/+6
| | | | | * clean up SOME pending/xxx/issue link comments * great
* runnableExamples imports std/assertions by default (#21658)metagn2023-04-141-0/+4
| | | closes https://github.com/nim-lang/RFCs/issues/499
* fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now ↵ringabout2023-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parses the whole module at one time (#21379) * fixes #19795; remove parse pipeline * isScript * fixes nimscriptapi * don't touch reorder * check script * fixes tests * it seems implicit imports of system cause troubles * access the first child of `nkStmtList` * ignore comments * minor messages * perhaps increases hloLoopDetector * the module is a stmtList, which changes the errors * fixes nimdoc * fixes tlinter * fixes nim secret tests * fixes arc_misc * fixes nim secret tests again * safe; fixes one more test * GlobalError is the root cause too * fixes parsing errors * put emit types to the cfsForwardTypes section * fixes #11852; `{.push checks:off}` now works in procs * disable navigator * fixes nimdoc * add tests for JS * fixes nimsuggest
* fix #19580; add warning for bare except: clause (#21099)ringabout2022-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | * fix #19580; add warning for bare except: clause * fixes some easy ones * Update doc/manual.md * fixes docs * Update changelog.md * addition * Apply suggestions from code review Co-authored-by: Jacek Sieka <arnetheduck@gmail.com> * Update doc/tut2.md Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
* fix #16993, #18054, #17835 runnableExamples now works with templates and ↵Timothee Cour2021-06-022-2/+66
| | | | nested templates (#18082)
* typo: nonexistant => nonexistent (#17918)Timothee Cour2021-05-021-2/+2
| | | | | * typo: nonexistant => nonexistent * fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
* fix #17615(runnableExamples silently ignored if placed after some code) (#17619)flywind2021-04-021-0/+11
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* fix #13491 #17279 runnableExamples now don't get lost in translation (#17282)Timothee Cour2021-03-091-0/+25
| | | | | * fix #13491 runnableExamples rendering * fix a runnableExamples thanks to this bugfix
* fix code-block test bugs: fix #17183, fix ↵Timothee Cour2021-02-261-0/+10
| | | | | | | https://github.com/timotheecour/Nim/issues/620 (#17184) * fix code-block test bugs: fix #17183, fix https://github.com/timotheecour/Nim/issues/620 * cleanup
* fix #15916 (#15917) [backport]flywind2020-11-121-0/+16
| | | | | | | * fix #15916 * add testcase for #15916 * add comments
* fix bug in semgnrc: runnableExamples should not semcheck, even with > 1 arg ↵Timothee Cour2020-06-231-0/+10
| | | | (#14768)
* fix #6583, fix #14376, index+search now generated for all projects, many bug ↵Timothee Cour2020-05-255-3/+12
| | | | | | | | | fixes with nim doc (#14324) * refs #6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index
* fix #10731 ; `runnableExamples "-b:cpp --run:off": code` works (#14384)Timothee Cour2020-05-201-1/+34
| | | | * runnableExamples "-b:cpp -r:off": code
* close #12746; minor cleanup (#14379)Timothee Cour2020-05-172-2/+82
|
* fix some issues with --backend (#14363)Timothee Cour2020-05-161-0/+2
| | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
* `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵Timothee Cour2020-05-112-0/+38
`--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