Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Markdown code blocks part 5 (#20236) | Andrey Makarov | 2022-08-17 | 1 | -1/+2 |
| | | | No logic was added, just a few more `*.md` files have been migrated. | ||||
* | Improve Markdown code blocks & start moving docs to Markdown style (#19954) | Andrey Makarov | 2022-07-15 | 1 | -0/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add additional parameters parsing (other implementations will just ignore them). E.g. if in RST we have: .. code:: nim :test: "nim c $1" ... then in Markdown that will be: ```nim test="nim c $1" ... ``` - implement Markdown interpretation of additional indentation which is less than 4 spaces (>=4 spaces is a code block but it's not implemented yet). RST interpretes it as quoted block, for Markdown it's just normal paragraphs. - add separate `md2html` and `md2tex` commands. This is to separate Markdown behavior in cases when it diverges w.r.t. RST significantly — most conspicously like in the case of additional indentation above, and also currently the contradicting inline rule of Markdown is also turned on only in `md2html` and `md2tex`. **Rationale:** mixing Markdown and RST arbitrarily is a way to nowhere, we need to provide a way to fix the particular behavior. Note that still all commands have **both** Markdown and RST features **enabled**. In this PR `*.nim` files can be processed only in Markdown mode, while `md2html` is for `*.md` files and `rst2html` for `*.rst` files. - rename `*.rst` files to `.*md` as our current default behavior is already Markdown-ish - convert code blocks in `docgen.rst` to Markdown style as an example. Other code blocks will be converted in the follow-up PRs - fix indentation inside Markdown code blocks — additional indentation is preserved there - allow more than 3 backticks open/close blocks (tildas \~ are still not allowed to avoid conflict with RST adornment headings) see also https://github.com/nim-lang/RFCs/issues/355 - better error messages - (other) fix a bug that admonitions cannot be used in sandbox mode; fix annoying warning on line 2711 | ||||
* | turn on syntax highlighting in Manual & Tutorial (#17692) | Andrey Makarov | 2021-04-11 | 1 | -0/+1 |
| | | | | | | | | | * turn on syntax highlighting in Manual & Tutorial * avoid highlighting of "method" * use relative path * 2 more changes | ||||
* | RST backtick refactor (all *.rst except manual.rst and rst_examples.rst) ↵ | quantimnot | 2021-03-18 | 1 | -5/+7 |
| | | | | | (#17258) Co-authored-by: quantimnot <quantimnot@users.noreply.github.com> | ||||
* | Massive documentation fixes + copy editing (#15747) | Yanis Zafirópulos | 2020-10-29 | 1 | -1/+1 |
| | |||||
* | deviated -> derived (#12846) [backport] | Mark | 2019-12-08 | 1 | -3/+3 |
| | |||||
* | improve documentation for 'var T return values'; refs #7373 | Andreas Rumpf | 2018-04-21 | 1 | -0/+20 |
| | |||||
* | merge the different manual/*.rst include files. Was too hard to find the ↵ | Andreas Rumpf | 2018-04-14 | 24 | -8010/+0 |
| | | | | corresponding sections otherwise. Hope it means the manual is more likely to be kept up to date. | ||||
* | Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) | cooldome | 2018-04-10 | 1 | -0/+22 |
| | |||||
* | added the 'x.p[:T]' notation for explicit generic instantiations in ↵ | Araq | 2018-04-06 | 3 | -37/+38 |
| | | | | combination with the ddot calling syntax | ||||
* | fix small typo in the documentation (#7411) | Abhishek | 2018-03-26 | 1 | -2/+2 |
| | |||||
* | Fix #7304 by clarifying integer width in manual (#7319) | twetzel59 | 2018-03-17 | 1 | -2/+4 |
| | | | | | | * Fix #7304 by clarifying integer width in manual * Update lexing.txt | ||||
* | fixes #7247 | Andreas Rumpf | 2018-02-23 | 1 | -26/+0 |
| | |||||
* | fixes the RST in the manual | Andreas Rumpf | 2018-02-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into araq-overloading-symmetry | Andreas Rumpf | 2018-02-03 | 1 | -3/+3 |
|\ | |||||
| * | manual: do not mention the VTable types which are not implemented yet | Andreas Rumpf | 2018-02-02 | 1 | -44/+45 |
| | | |||||
| * | Fix the names of the float checks pragmas. (#7170) | konqoro | 2018-02-01 | 1 | -3/+3 |
| | | |||||
* | | better type inference for numerical types; prerequisitive for version 1 | Andreas Rumpf | 2018-02-02 | 1 | -0/+29 |
| | | |||||
* | | manual: do not mention the VTable types which are not implemented yet | Andreas Rumpf | 2018-02-02 | 1 | -44/+45 |
|/ | |||||
* | fixes #7089 | Andreas Rumpf | 2018-01-24 | 1 | -4/+6 |
| | |||||
* | Mention lack of js support in closure iterator limitations (#7110) | Mathias Stearn | 2018-01-19 | 1 | -0/+1 |
| | |||||
* | Implement custom annotations (#6987) | cooldome | 2018-01-09 | 1 | -0/+67 |
| | |||||
* | Add compile-time paragraph to manual | Zach Smith | 2017-12-30 | 1 | -0/+4 |
| | | | Includes a note in the manual entry for case statements clarifying that the branch values must be known at compile time. | ||||
* | manual: clarify the rules for integer literals | Araq | 2017-12-27 | 1 | -1/+2 |
| | |||||
* | language change: change how the experimental dot operators work | Andreas Rumpf | 2017-11-29 | 1 | -3/+3 |
| | |||||
* | Documentation: directly use ref object + fields (#6598) | Mamy Ratsimbazafy | 2017-11-15 | 3 | -25/+40 |
| | |||||
* | Merge branch 'devel' into araq | Andreas Rumpf | 2017-11-07 | 1 | -1/+1 |
|\ | |||||
| * | fix broken link in manual (#6697) | Kartik Saranathan | 2017-11-06 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into araq | Andreas Rumpf | 2017-11-02 | 11 | -25/+67 |
|\| | |||||
| * | breaking change: 'and' and 'mod' do not produce a subrange type anymore; ↵ | Andreas Rumpf | 2017-10-30 | 1 | -19/+0 |
| | | | | | | | | fixes #5854 | ||||
| * | new feature: package level objects | Andreas Rumpf | 2017-10-29 | 1 | -0/+38 |
| | | |||||
| * | Tweeks in the manual (#6599) | narimiran | 2017-10-26 | 10 | -20/+24 |
| | | |||||
| * | fix broken link | narimiran | 2017-10-23 | 1 | -1/+1 |
| | | |||||
| * | Constants can contain objects (excluding object variants) | Daniil Yarancev | 2017-10-16 | 1 | -1/+1 |
| | | |||||
| * | minor update of the manual | Araq | 2017-10-16 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'devel' into araq | Andreas Rumpf | 2017-10-02 | 3 | -6/+7 |
|\| | |||||
| * | the 'using construct is not .experimental anymore | Araq | 2017-09-30 | 1 | -4/+0 |
| | | |||||
| * | documentation improvement; make mixin easier to search (#6409) | jlp765 | 2017-09-21 | 1 | -0/+6 |
| | | |||||
| * | Update docs on assignment operator (#6373) | superfunc | 2017-09-15 | 1 | -2/+1 |
| | | |||||
* | | Merge branch 'araq' of github.com:nim-lang/Nim into araq | Andreas Rumpf | 2017-09-15 | 1 | -20/+0 |
|\ \ | |/ |/| | |||||
| * | Merge branch 'devel' into araq | Andreas Rumpf | 2017-09-15 | 3 | -8/+12 |
| |\ | |||||
| * | | no interval arithmetic anymore to construct implicit range types; breaking ↵ | Andreas Rumpf | 2017-07-13 | 1 | -20/+0 |
| | | | | | | | | | | | | change | ||||
* | | | Corrected manual (Identifier equality) (#6366) | GULPF | 2017-09-11 | 1 | -3/+3 |
| |/ |/| | | | | | | | | | * Corrected manual (Identifier equality) - Clarified that identifiers are only case insensitive for ASCII characters - Removed mention of dash-style, since it has been removed | ||||
* | | update the manual; 'of', 'low' and 'high' can now be overloaded | Andreas Rumpf | 2017-09-01 | 1 | -2/+2 |
| | | |||||
* | | remove ArrayDummySize with unchecked arrays (#5818) | Jacek Sieka | 2017-08-28 | 1 | -5/+1 |
| | | |||||
* | | Replaced en-dash with hyphen for identifier equality (#6272) | Fredrik Høisæther Rasch | 2017-08-24 | 1 | -1/+1 |
| | | |||||
* | | Restore the old behavior of parsing "quote do:" | Zahary Karadjov | 2017-08-19 | 1 | -0/+8 |
|/ | | | | close #5845 | ||||
* | Update pragmas.txt (#6006) | Dan | 2017-06-21 | 1 | -2/+23 |
| | | | Added more info on how the format strings work for codegenDecl | ||||
* | fix affecting templates with explicit generic params | Zahary Karadjov | 2017-05-13 | 1 | -2/+2 |
| | |||||
* | manual additions for the covariant generic parameters | Zahary Karadjov | 2017-05-12 | 1 | -2/+87 |
| |