Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Propagate the outDir to rstgen to fix hrefs for modules in subdirs (#14479) | Kaushal Modi | 2020-05-28 | 1 | -3/+13 |
| | |||||
* | docgen: mangling using _. instead of @@ to avoid issue (#14454) | Timothee Cour | 2020-05-26 | 1 | -2/+2 |
| | |||||
* | docgen: fix #14448 show @@ as .. in href text (#14451) | Timothee Cour | 2020-05-25 | 1 | -1/+6 |
| | |||||
* | fix some issues with --backend (#14363) | Timothee Cour | 2020-05-16 | 1 | -1/+1 |
| | | | | | * 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/+1 |
| | | | | | | | | | 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 . | ||||
* | Fix #13631 (#13789) | Juan Carlos | 2020-03-29 | 1 | -2/+2 |
| | |||||
* | fix several typos in documentation and comments (#12553) | Nindaleth | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | Fix word wrapping | Jjp137 | 2019-10-22 | 1 | -7/+11 |
| | |||||
* | Fix many broken links | Jjp137 | 2019-10-22 | 1 | -7/+7 |
| | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. | ||||
* | use system.move instead of system.shallowCopy if the GC mode requires it | Andreas Rumpf | 2019-10-04 | 1 | -5/+8 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -2/+2 |
| | |||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -16/+16 |
| | |||||
* | document proper imports, fixes #8164 (#10698) | Miran | 2019-02-19 | 1 | -0/+2 |
| | |||||
* | docgen: render 'interpreted text' the same as inline literals for markdown ↵ | Araq | 2019-01-11 | 1 | -3/+1 |
| | | | | compat | ||||
* | Don't prevent ',' from getting escaped in theindex.html | Kaushal Modi | 2018-09-28 | 1 | -3/+7 |
| | | | | | | - Enable escaping of links in theindex.html - Fixes https://github.com/nim-lang/Nim/issues/9107. - Second part of the fix for https://github.com/nim-lang/Nim/issues/9097. | ||||
* | nim doc: simplifiy index generation | Araq | 2018-09-13 | 1 | -7/+10 |
| | |||||
* | index generation for docgen knows about subdirectories; index knows about ↵ | Araq | 2018-09-13 | 1 | -35/+45 |
| | | | | enum values; fixes import statement for runnableExamples | ||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 1 | -16/+10 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -5/+4 |
| | |||||
* | fixes more nil string bugs | Araq | 2018-08-08 | 1 | -4/+3 |
| | |||||
* | Better doc search (#8260) | Ray Imber | 2018-07-20 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | * Modified the doc generation to produce a custom data attribute to allow for better search functionality * Implemented fuzzy matching for the Nim Doc search instead of the simple regex match. * Fix to the WordBoundry state transition from code review with @Varriount. Also removed silly testing template that is no longer used. * Update fuzzysearch.nim * Update fuzzysearch.nim * Update fuzzysearch.nim * Update dochack.nim * Update dochack.nim | ||||
* | removed global variable from rstgen.nim | Andreas Rumpf | 2018-05-27 | 1 | -5/+8 |
| | |||||
* | Rstgen/xml tree fixes (#7823) | Dominik Picheta | 2018-05-23 | 1 | -29/+34 |
| | | | | | | | | | | | | | * Don't prefix lang names with "lang" in rstgen. * Implements ability to render xmltree w/o \n. Fixes <> for `data-*` attrs. * Various rstgen fixes. * Fixes security vulnerabilities due to not escaping some code. * Adds <video> support and improve `.. image:: ` directive. * Adds comment as requested. | ||||
* | RST package: don't use obsolete toLower proc | Andreas Rumpf | 2018-04-29 | 1 | -1/+1 |
| | |||||
* | docutils: make ':test:' work without argument | Andreas Rumpf | 2018-04-15 | 1 | -3/+6 |
| | |||||
* | the documentation generator now supports ':test:' for the testing of test ↵ | Araq | 2017-11-28 | 1 | -5/+19 |
| | | | | snippets | ||||
* | the documentation generator now supports system.runnableExamples | Araq | 2017-11-26 | 1 | -1/+1 |
| | |||||
* | Add possibility to get language class to listings (#6705) | Silvio | 2017-11-08 | 1 | -2/+2 |
| | | | | Add the possibility to add class `lang<Name>` to code listings. Needed for restricting `run` to nim code (see https://github.com/nim-lang/nimforum/pull/111 ) | ||||
* | fixes #6609; 'if' expressions support multiple statements; minor breaking change | Araq | 2017-11-05 | 1 | -1/+2 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -2/+2 |
| | |||||
* | Make countLines() the same as len(splitLines(s)) (#5470) | Simon Krauter | 2017-03-03 | 1 | -1/+1 |
| | | | | | The result of countLines() is now increased by 1 compared to the old version. Fixes #5460. | ||||
* | docgen: working search feature | Araq | 2016-09-09 | 1 | -3/+3 |
| | |||||
* | generated theindex.html is valid html | Araq | 2016-09-09 | 1 | -10/+21 |
| | |||||
* | Merge pull request #3831 from ephja/nimrod-to-nim | Andreas Rumpf | 2016-02-06 | 1 | -2/+2 |
|\ | | | | | nimrod -> nim | ||||
| * | nimrod -> nim | Erik Johansson Andersson | 2016-02-05 | 1 | -2/+2 |
| | | |||||
* | | RST: Output <object> for SVG images in HTML | Felix Krause | 2016-02-02 | 1 | -7/+17 |
|/ | |||||
* | Made docgen emit valid XML by default | Felix Krause | 2016-01-11 | 1 | -2/+2 |
| | |||||
* | udpated the compiler and tester to use getOrDefault | Araq | 2015-10-13 | 1 | -10/+13 |
| | |||||
* | Fix for image directive with periods | singularperturbation | 2015-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Saw in https://github.com/nim-lang/nimforum/issues/41 that there was an issue in rendering inline images. Traced back through rstgen and found that it was not counting something like: `.. image:: http://i.imgur.com/oCem13Y.png` as valid since it contained a period, and this wasn't in the set of valid characters, so the empty string is returned by default. Added a period to the allowable characters, and now renders correctly. Test case: ``` import rst, rstgen, strtabs var docConfig: StringTableRef docConfig = rstgen.defaultConfig() docConfig["doc.smiley_format"] = "/images/smilieys/$1.png" proc rstToHtml(content: string): string = result = rstgen.rstToHtml(content, {roSupportSmilies,roSupportMarkdown}, docConfig) var a: string = rstToHtml(".. image:: http://i.imgur.com/oCem13Y.png") echo a ``` | ||||
* | documentation generator emits configurable html for code listings | Araq | 2015-07-14 | 1 | -6/+14 |
| | |||||
* | lib/packages/docutils - Dropped 'T' from types | pdw | 2015-06-04 | 1 | -60/+61 |
| | |||||
* | Turn some test outputs into actual tests | Oleh Prypin | 2015-04-21 | 1 | -3/+4 |
| | |||||
* | Don't run non-test code when defined(testing) | Oleh Prypin | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | fixes #2476 | Araq | 2015-04-19 | 1 | -132/+132 |
| | |||||
* | rstgen: Unique reference names in TOC | def | 2015-03-13 | 1 | -1/+8 |
| | | | | | - Fixes #2269 - Keeps track of higher level section to create unique reference names | ||||
* | Replaced deprecated repeatStr() with repeat(). | Hans Raaf | 2015-03-04 | 1 | -2/+2 |
| | |||||
* | Replaced deprecated repeatChar() with repeat() or spaces(). | Hans Raaf | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | Replace other common expressions with defined variable | Dustin Lacewell | 2015-01-12 | 1 | -2/+2 |
| | |||||
* | Add named anchor links to procs in the documentation index | Dustin Lacewell | 2015-01-12 | 1 | -2/+4 |
| |