Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make highlite.nim compile again | Araq | 2018-08-23 | 1 | -1/+1 |
| | |||||
* | even more strict isNil handling for strings/seqs in order to detect bugs | Araq | 2018-08-22 | 2 | -17/+11 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 2 | -7/+6 |
| | |||||
* | 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 | ||||
* | RST hotfix: don't crash in rstnodeToRefname | Araq | 2018-06-14 | 1 | -0/+1 |
| | |||||
* | fixex merge conflicts | Araq | 2018-06-08 | 1 | -1/+1 |
|\ | |||||
| * | Multi byte characters should not be treated as part of an operator | Oscar Nihlgård | 2018-06-03 | 1 | -1/+1 |
| | | |||||
* | | removed global variable from rstgen.nim | Andreas Rumpf | 2018-05-27 | 1 | -5/+8 |
|/ | |||||
* | Use new binarySearch everywhere (#7876) | Dmitry Atamanov | 2018-05-25 | 1 | -24/+3 |
| | |||||
* | 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. | ||||
* | docgen compiles again | Andreas Rumpf | 2018-05-11 | 1 | -2/+2 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 2 | -7/+0 |
| | |||||
* | RST package: don't use obsolete toLower proc | Andreas Rumpf | 2018-04-29 | 1 | -1/+1 |
| | |||||
* | docutils: no Babel file | Andreas Rumpf | 2018-04-15 | 2 | -6/+5 |
| | |||||
* | 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 | 3 | -24/+22 |
| | | | | snippets | ||||
* | the documentation generator now supports system.runnableExamples | Araq | 2017-11-26 | 1 | -1/+1 |
| | |||||
* | language change: 'generic' and 'atomic' are not keywords anymore | Andreas Rumpf | 2017-11-21 | 1 | -6/+5 |
| | |||||
* | 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 |
| | |||||
* | 'with' and 'without' are not keywords anymore | Araq | 2017-09-30 | 1 | -2/+2 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -2/+2 |
| | |||||
* | attempt to make travis OSX tests green and mandatory | Andreas Rumpf | 2017-03-29 | 1 | -0/+229 |
| | |||||
* | 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. | ||||
* | fixes #3078 | Andreas Rumpf | 2016-10-20 | 1 | -6/+9 |
| | |||||
* | docgen: working search feature | Araq | 2016-09-09 | 1 | -3/+3 |
| | |||||
* | generated theindex.html is valid html | Araq | 2016-09-09 | 1 | -10/+21 |
| | |||||
* | prepare Nim codebase for upcoming parser changes | Andreas Rumpf | 2016-07-15 | 1 | -1/+1 |
| | |||||
* | fixes #2640 | Andreas Rumpf | 2016-05-31 | 1 | -4/+9 |
| | |||||
* | Fixes to YAML highlighting support, added tests | Felix Krause | 2016-04-01 | 1 | -7/+18 |
| | |||||
* | Added YAML support to doctools/highlite | Felix Krause | 2016-03-29 | 1 | -2/+296 |
| | |||||
* | use 'using' instead of 'sig' keyword; cleans up new features a bit | Andreas Rumpf | 2016-02-29 | 1 | -1/+1 |
| | |||||
* | added 'sig' feature; removed tfShared support in the compiler | Andreas Rumpf | 2016-02-28 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3831 from ephja/nimrod-to-nim | Andreas Rumpf | 2016-02-06 | 2 | -9/+9 |
|\ | | | | | nimrod -> nim | ||||
| * | nimrod -> nim | Erik Johansson Andersson | 2016-02-05 | 2 | -9/+9 |
| | | |||||
* | | RST: Output <object> for SVG images in HTML | Felix Krause | 2016-02-02 | 1 | -7/+17 |
|/ | |||||
* | implements final version of multiline comments | Andreas Rumpf | 2016-01-17 | 1 | -11/+30 |
| | |||||
* | implements multi-line-comments; pounds are stripped from the doc comments | Andreas Rumpf | 2016-01-16 | 1 | -1/+16 |
| | |||||
* | 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 |
| | |||||
* | renamed writeln to writeLine in lib | patrick dw | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | lib/packages/docutils - Dropped 'T' from types | pdw | 2015-06-04 | 4 | -235/+253 |
| | |||||
* | 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 |
| | |||||
* | Merge branch 'devel' of https://github.com/Araq/Nim into devel | Araq | 2015-04-20 | 1 | -1/+1 |
|\ | |||||
| * | Make RST recognize hyperlinks with two underscores | Oleh Prypin | 2015-04-13 | 1 | -1/+1 |
| | | | | | | | | Fixes #2538 | ||||
* | | fixes #2476 | Araq | 2015-04-19 | 1 | -132/+132 |
|/ |