Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | custom integer literals (#17489) | Andreas Rumpf | 2021-03-24 | 1 | -1/+1 |
| | | | | | | | * user defined integer literals; refs #17020 * updated renderer.nim * use mlexerutils helper * imported all test cases from https://github.com/nim-lang/Nim/pull/17020 * final grammar updated | ||||
* | fix #16973 ; nim doc now shows correct, canonical import name in title (#16999) | Timothee Cour | 2021-03-23 | 1 | -7/+18 |
| | | | | * nim doc now shows correct import name in title | ||||
* | fix #16901: sidebar groups now works with all routines, not just proc,func ↵ | Timothee Cour | 2021-03-19 | 1 | -1/+1 |
| | | | | | | | (#17416) * fix #16901: sidebar groups now works with all routines, not just proc,func * fix tests | ||||
* | Rst test check messages (fix #17280) (#17338) | Andrey Makarov | 2021-03-17 | 1 | -2/+7 |
| | |||||
* | fix RST parsing when no indent after enum.item (fix #17249) (#17257) | Andrey Makarov | 2021-03-12 | 1 | -2/+3 |
| | |||||
* | fix #13491 #17279 runnableExamples now don't get lost in translation (#17282) | Timothee Cour | 2021-03-09 | 1 | -23/+42 |
| | | | | | * fix #13491 runnableExamples rendering * fix a runnableExamples thanks to this bugfix | ||||
* | RST heading improvements (fix #17091) (#17195) | Andrey Makarov | 2021-03-02 | 1 | -6/+10 |
| | |||||
* | fix code-block test bugs: fix #17183, fix ↵ | Timothee Cour | 2021-02-26 | 1 | -1/+7 |
| | | | | | | | https://github.com/timotheecour/Nim/issues/620 (#17184) * fix code-block test bugs: fix #17183, fix https://github.com/timotheecour/Nim/issues/620 * cleanup | ||||
* | make rst.nim use object variant (#17138) | Andrey Makarov | 2021-02-22 | 1 | -2/+2 |
| | | | | | | | * make rst.nim use object variant * add workaround * fix mistake | ||||
* | stricter checks for RST headlines (#17089) | Andrey Makarov | 2021-02-20 | 1 | -0/+1 |
| | |||||
* | RST: implement footnotes and citations (#16960) | Andrey Makarov | 2021-02-15 | 1 | -0/+1 |
| | | | | | | | | | * RST: implement footnotes and citations * manual fixup of nimdoc.out.css * remove unused code * shorter printing code * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | quote nim command on compile (#16954) | n5m | 2021-02-07 | 1 | -1/+1 |
| | |||||
* | remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs (#16861) | Timothee Cour | 2021-01-29 | 1 | -2/+1 |
| | | | | | | | | | * cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors * simplify nimNoNilSeqs2 * simplify nimNoNilSeqs * fixup | ||||
* | improve formatting of error message when runnableExamples fails (#16677) | Timothee Cour | 2021-01-13 | 1 | -1/+6 |
| | |||||
* | RST: implement internal targets (#16614) | Andrey Makarov | 2021-01-11 | 1 | -1/+1 |
| | |||||
* | misc cleanups (#16383) | Timothee Cour | 2020-12-18 | 1 | -3/+4 |
| | |||||
* | fix #16248 forward --lib to runnableExamples (#16350) | Timothee Cour | 2020-12-14 | 1 | -1/+2 |
| | |||||
* | put both funcs and procs under the same section in the documentation (#16301) | Miran | 2020-12-09 | 1 | -8/+2 |
| | | | | | * both funcs and procs are under the same section in the documentation * update the test | ||||
* | fix export links in the documentation (#16114) [backport:1.4] | Miran | 2020-11-24 | 1 | -5/+9 |
| | | | | | * fix export links in the documentation * fix `len` problem | ||||
* | fix #15916 (#15917) [backport] | flywind | 2020-11-12 | 1 | -2/+4 |
| | | | | | | | * fix #15916 * add testcase for #15916 * add comments | ||||
* | rst: add support for markdown tables (#15854) | Miran | 2020-11-10 | 1 | -0/+1 |
| | | | | | | | * rst: add support for markdown tables * change template into proc * don't create unnecessary `seq[string]` | ||||
* | Use modern enums in compiler (#15775) | cooldome | 2020-11-02 | 1 | -1/+1 |
| | |||||
* | [backport: 1.4] Better linebreaks (#15658) | Miran | 2020-10-22 | 1 | -10/+4 |
| | |||||
* | add Source+Edit links on top of every docgend file (#15642) | Timothee Cour | 2020-10-22 | 1 | -22/+24 |
| | |||||
* | fixes bootstrapping for any machine that has a Nim already installed ↵ | Andreas Rumpf | 2020-10-20 | 1 | -11/+11 |
| | | | | [backport:1.4] (#15660) | ||||
* | even more "eg" fixes [ci skip] | narimiran | 2020-10-20 | 1 | -3/+3 |
| | |||||
* | group procs of the same name in TOC (#15487) | Miran | 2020-10-05 | 1 | -7/+26 |
| | | | | | | | | | | | * group procs of the same name in TOC * correctly show `sink` parameters in TOC * no need to reinvent the wheel - `mgetorPut` exists * better setting of text color [ci skip] * fix CSS for better alignment | ||||
* | 'koch temp' bugfix | Araq | 2020-09-23 | 1 | -2/+2 |
| | |||||
* | Expand hoisted default params in sem (#15270) | Clyybber | 2020-09-05 | 1 | -4/+4 |
| | | | | | | | | | * Expand hoisted default params in sem Introduce ast.newTree{I,IT} Add test for default params in procs * Cleanup * Simplify hoist transformation and expand test | ||||
* | Big compiler Cleanup (#14777) | Clyybber | 2020-08-28 | 1 | -33/+12 |
| | |||||
* | deprecate existsDir; use dirExists instead (#14884) | Timothee Cour | 2020-07-03 | 1 | -1/+1 |
| | |||||
* | {.deprecated: [existsFile: fileExists].} (#14735) | Timothee Cour | 2020-07-02 | 1 | -1/+1 |
| | | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test | ||||
* | fix #14691 docgen works again for methods (#14701) | Timothee Cour | 2020-06-18 | 1 | -14/+5 |
| | | | | | * fix #14691 docgen methods * fixup | ||||
* | refs #14545 fix snippet errors: avoid showing confusing errors when they are ↵ | Timothee Cour | 2020-06-05 | 1 | -3/+4 |
| | | | | expected (#14569) | ||||
* | [cleanup] docgen: remove docOutdir now that outDir is always set (#14554) | Timothee Cour | 2020-06-03 | 1 | -17/+7 |
| | |||||
* | walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + ↵ | Timothee Cour | 2020-06-01 | 1 | -11/+10 |
| | | | | | | | | | | | various other fixes (#14501) * update doc CI filter to include the files mostly likely to require doc rebuild * remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes * walkDirRecFilter, factor nativeToUnixPath workaround * glob for getRst2html * docslocal: 40s to build all docs * revert code dedup in github actions which did not work alas... * fixups | ||||
* | hotfix doc comments for procs without body (#14494) | Timothee Cour | 2020-05-29 | 1 | -0/+1 |
| | |||||
* | fix #8871 runnableExamples now preserves source code comments, litterals, ↵ | Timothee Cour | 2020-05-28 | 1 | -49/+110 |
| | | | | | | | | | | | and all formatting; other bug fix (#14439) * fix #8871 runnableExamples now preserves source code comments, litterals, and all formatting * remove orig deadcode from getAllRunnableExamplesImpl * fix expected examples * add test to close https://github.com/nim-lang/Nim/issues/14473 * correctly handle regular comments before 1st token inside runnableExamples * add test to answer https://github.com/nim-lang/Nim/pull/14439#discussion_r431829199 * update tests | ||||
* | Propagate the outDir to rstgen to fix hrefs for modules in subdirs (#14479) | Kaushal Modi | 2020-05-28 | 1 | -2/+1 |
| | |||||
* | docgen: fix #14448 show @@ as .. in href text (#14451) | Timothee Cour | 2020-05-25 | 1 | -3/+3 |
| | |||||
* | fix #9227 procs can now have multiple interleaved doc comments + ↵ | Timothee Cour | 2020-05-25 | 1 | -7/+41 |
| | | | | | | runnableExamples and be docgen'd correctly (#14441) * fix #9227 proc doc comments after 1st runnableExamples are not ignored anymore | ||||
* | fix #6583, fix #14376, index+search now generated for all projects, many bug ↵ | Timothee Cour | 2020-05-25 | 1 | -28/+36 |
| | | | | | | | | | fixes with nim doc (#14324) * refs #6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index | ||||
* | Remove #PRTEMP leftover comment | Clyybber | 2020-05-20 | 1 | -1/+0 |
| | |||||
* | fix #10731 ; `runnableExamples "-b:cpp --run:off": code` works (#14384) | Timothee Cour | 2020-05-20 | 1 | -31/+57 |
| | | | | * runnableExamples "-b:cpp -r:off": code | ||||
* | fix #14174 do not collapse pragma inside runnableExamples (#14385) | Timothee Cour | 2020-05-18 | 1 | -19/+20 |
| | |||||
* | fix some issues with --backend (#14363) | Timothee Cour | 2020-05-16 | 1 | -7/+14 |
| | | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306 | ||||
* | Make --backend:cpp|js work for :test: code-blocks as well (#14306) | Kaushal Modi | 2020-05-11 | 1 | -1/+2 |
| | | | | | | | | | Continues https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322 Ref: - https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322#commitcomment-39087584 - https://github.com/nim-lang/Nim/pull/14278 Fixes https://github.com/nim-lang/Nim/issues/13129 . | ||||
* | `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵ | Timothee Cour | 2020-05-11 | 1 | -11/+18 |
| | | | | | | | | | | `--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 | ||||
* | fixes #13986 [backport:1.2] (#14173) | Andreas Rumpf | 2020-04-30 | 1 | -1/+7 |
| | |||||
* | fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647) | Timothee Cour | 2020-03-17 | 1 | -10/+14 |
| | | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream |