summary refs log tree commit diff stats
path: root/doc/manual
Commit message (Collapse)AuthorAgeFilesLines
* Markdown code blocks part 5 (#20236)Andrey Makarov2022-08-171-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 Makarov2022-07-151-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 Makarov2021-04-111-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) ↵quantimnot2021-03-181-5/+7
| | | | | (#17258) Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* Massive documentation fixes + copy editing (#15747)Yanis Zafirópulos2020-10-291-1/+1
|
* deviated -> derived (#12846) [backport]Mark2019-12-081-3/+3
|
* improve documentation for 'var T return values'; refs #7373Andreas Rumpf2018-04-211-0/+20
|
* merge the different manual/*.rst include files. Was too hard to find the ↵Andreas Rumpf2018-04-1424-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)cooldome2018-04-101-0/+22
|
* added the 'x.p[:T]' notation for explicit generic instantiations in ↵Araq2018-04-063-37/+38
| | | | combination with the ddot calling syntax
* fix small typo in the documentation (#7411)Abhishek2018-03-261-2/+2
|
* Fix #7304 by clarifying integer width in manual (#7319)twetzel592018-03-171-2/+4
| | | | | | * Fix #7304 by clarifying integer width in manual * Update lexing.txt
* fixes #7247Andreas Rumpf2018-02-231-26/+0
|
* fixes the RST in the manualAndreas Rumpf2018-02-041-1/+1
|
* Merge branch 'devel' into araq-overloading-symmetryAndreas Rumpf2018-02-031-3/+3
|\
| * manual: do not mention the VTable types which are not implemented yetAndreas Rumpf2018-02-021-44/+45
| |
| * Fix the names of the float checks pragmas. (#7170)konqoro2018-02-011-3/+3
| |
* | better type inference for numerical types; prerequisitive for version 1Andreas Rumpf2018-02-021-0/+29
| |
* | manual: do not mention the VTable types which are not implemented yetAndreas Rumpf2018-02-021-44/+45
|/
* fixes #7089Andreas Rumpf2018-01-241-4/+6
|
* Mention lack of js support in closure iterator limitations (#7110)Mathias Stearn2018-01-191-0/+1
|
* Implement custom annotations (#6987)cooldome2018-01-091-0/+67
|
* Add compile-time paragraph to manualZach Smith2017-12-301-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 literalsAraq2017-12-271-1/+2
|
* language change: change how the experimental dot operators workAndreas Rumpf2017-11-291-3/+3
|
* Documentation: directly use ref object + fields (#6598)Mamy Ratsimbazafy2017-11-153-25/+40
|
* Merge branch 'devel' into araqAndreas Rumpf2017-11-071-1/+1
|\
| * fix broken link in manual (#6697)Kartik Saranathan2017-11-061-1/+1
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-11-0211-25/+67
|\|
| * breaking change: 'and' and 'mod' do not produce a subrange type anymore; ↵Andreas Rumpf2017-10-301-19/+0
| | | | | | | | fixes #5854
| * new feature: package level objectsAndreas Rumpf2017-10-291-0/+38
| |
| * Tweeks in the manual (#6599)narimiran2017-10-2610-20/+24
| |
| * fix broken linknarimiran2017-10-231-1/+1
| |
| * Constants can contain objects (excluding object variants)Daniil Yarancev2017-10-161-1/+1
| |
| * minor update of the manualAraq2017-10-161-3/+3
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-10-023-6/+7
|\|
| * the 'using construct is not .experimental anymoreAraq2017-09-301-4/+0
| |
| * documentation improvement; make mixin easier to search (#6409)jlp7652017-09-211-0/+6
| |
| * Update docs on assignment operator (#6373)superfunc2017-09-151-2/+1
| |
* | Merge branch 'araq' of github.com:nim-lang/Nim into araqAndreas Rumpf2017-09-151-20/+0
|\ \ | |/ |/|
| * Merge branch 'devel' into araqAndreas Rumpf2017-09-153-8/+12
| |\
| * | no interval arithmetic anymore to construct implicit range types; breaking ↵Andreas Rumpf2017-07-131-20/+0
| | | | | | | | | | | | change
* | | Corrected manual (Identifier equality) (#6366)GULPF2017-09-111-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 overloadedAndreas Rumpf2017-09-011-2/+2
| |
* | remove ArrayDummySize with unchecked arrays (#5818)Jacek Sieka2017-08-281-5/+1
| |
* | Replaced en-dash with hyphen for identifier equality (#6272)Fredrik Høisæther Rasch2017-08-241-1/+1
| |
* | Restore the old behavior of parsing "quote do:"Zahary Karadjov2017-08-191-0/+8
|/ | | | close #5845
* Update pragmas.txt (#6006)Dan2017-06-211-2/+23
| | | Added more info on how the format strings work for codegenDecl
* fix affecting templates with explicit generic paramsZahary Karadjov2017-05-131-2/+2
|
* manual additions for the covariant generic parametersZahary Karadjov2017-05-121-2/+87
|