summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* remove std/ prefix from doc/lib.rst now that canonical import is shown in ↵Timothee Cour2021-03-291-13/+13
| | | | | | | module docs (#17543) * remove std/ prefix from doc/lib.rst now that canonical import is shown in module docs * cleanup top docs for std/sha1
* followup custom literals (#17500)Timothee Cour2021-03-271-1/+1
|
* nnkArglist => nnkArgList + special case stylecheck:error (#17529)Timothee Cour2021-03-272-2/+2
| | | | | * nnkArglist => nnkArgList * special case stylecheck:error
* cleaned up the internal documentation (#17524)Andreas Rumpf2021-03-261-439/+112
|
* ref https://github.com/nim-lang/Nim/pull/17333 (#17495)flywind2021-03-251-1/+2
|
* custom integer literals bugfixes (#17499)Andreas Rumpf2021-03-241-1/+5
| | | | | * custom integer literals bugfixes * make nimsuggest compile again
* custom integer literals (#17489)Andreas Rumpf2021-03-242-6/+51
| | | | | | | * 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
* make unary minus part of number literals, refs #17020 (#17488)Andreas Rumpf2021-03-241-5/+38
| | | | * make unary minus part of number literals, refs #17020 * fixes regression
* update nimgrep documentation (#17415)Andrey Makarov2021-03-232-24/+156
| | | | | | | * update nimgrep documentation * Update doc/nimgrep_cmdline.txt Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* added more modules to docs lib (#17430)AFaurholt2021-03-211-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added more modules * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * listed alphabetically + link to json module * Added suggestion #17430 Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Add documentation to the `macrocache` module (#17431)Danil Yarantsev2021-03-211-0/+3
| | | | | | | | | | | | | | | | | | | | | * Add docs to macrocache * use hint * Use incl in the incl example * add macrocache to lib * consistency * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * apply suggestions * clarify the warning Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* RST backtick refactor (all *.rst except manual.rst and rst_examples.rst) ↵quantimnot2021-03-1829-1350/+1400
| | | | | (#17258) Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* RST backtick refactor manual.rst (#17259)quantimnot2021-03-181-863/+863
| | | Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* docs contributing: mention https://man.sr.ht/builds.sr.ht/build-ssh.md for ↵Timothee Cour2021-03-181-1/+5
| | | | ssh to CI machines (#17409)
* fix #2844 #3911; add --spellsuggest to suggest symbols in scope with similar ↵Timothee Cour2021-03-161-0/+3
| | | | | | | spellings on undefined symbol error (#16067) * add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors * implement --spellsuggest with 0 arguments
* Make add work in the destructors example (#17354)Clyybber2021-03-151-1/+3
|
* Small fix to destructors exampleClyybber2021-03-121-1/+1
|
* rename channels to channels_builtin (#17330)flywind2021-03-122-2/+2
| | | | | | | * improve test coverage for isolation * a bit better * rename channels to channels_builtin
* fix RST parsing when no indent after enum.item (fix #17249) (#17257)Andrey Makarov2021-03-122-16/+19
|
* fixes #11225; generic sandwich problems; [backport:1.2] (#17255)Andreas Rumpf2021-03-091-0/+44
| | | | | * fixes #11225; generic sandwich problems; [backport:1.2] * progress * delegating these symbols must be done via 'bind'
* Fix macros.quote custom op symbol interpolation. (#17256)quantimnot2021-03-051-40/+58
| | | | | | | | | | Provides a workaround/fix for #7589. https://github.com/nim-lang/Nim/issues/7589 Updated docs and tutorial to reflect change. Updated runnableExamples to include an example. Co-authored-by: name <name@example.com>
* deprecate newruntime (#17245)flywind2021-03-042-3/+2
| | | | | | * deprecate newruntime * tests * Update compiler/commands.nim
* rename prepareStrMutation to prepareMutation (#17235)flywind2021-03-031-4/+4
| | | | | | | * remove unnecessary when statement * remove outdated codes * rename prepareStrMutation to prepareMutation
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-021-0/+1
|
* fix #16731: using deprecated flags triggers a warning (#17225)Timothee Cour2021-03-021-1/+1
| | | | | | * using deprecated flags triggers a warning * cleanups * fixup * address comments
* document copy on write behavior of string literals in arc/orc (#17224)flywind2021-03-021-0/+70
| | | | | | * Update doc/destructors.rst Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Remove the note about old naming conventions (#17222)Danil Yarantsev2021-03-021-9/+0
|
* Follow NEP1 in NEP1 (#17221)Danil Yarantsev2021-03-021-1/+1
|
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-011-2/+0
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar
* Change stdlib imports to use std prefix in most examples (#17202)Danil Yarantsev2021-02-283-6/+6
|
* document `;` vs `,` for generic params (#17192)Timothee Cour2021-02-261-1/+6
|
* add enumutils.items for sparse enums, typetraits.SomeSparseEnum (#17080)Timothee Cour2021-02-231-0/+3
| | | | | | | * add enumutils.items for enum with holes * changelog * ref in lib.rst * use `type SomeSparseEnum* = (not Ordinal) and enum` instead of concept * address comment: rename back to enum with holes
* document type bound operators (#17063)Timothee Cour2021-02-232-2/+45
| | | | | | | * document type bound rountines * address comments * Update doc/manual.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* remove tests/deps/ (#17132)Timothee Cour2021-02-231-1/+1
| | | | | | | | | * remove tests/deps/ * fix tests * fix tests/manyloc/keineschweine/lib/zlib_helpers.nim * fixup
* fix prelude regression refs #16238: `include prelude` doesn't interfere with ↵Timothee Cour2021-02-221-29/+0
| | | | | | | | | `nim doc` (#17111) * fix bug1 from #16238 nim doc now works with include prelude * fix for windows * fixup
* followup #17077: also use assert instead of doAssert for `code-block` rst ↵Timothee Cour2021-02-211-1/+2
| | | | blocks intended to be used as `runnableExamples` (#17122)
* promote std prefix in docs (#17128)flywind2021-02-209-41/+41
|
* move prelude so that `include std/prelude` also works (#17110)Timothee Cour2021-02-201-3/+3
| | | | | * move prelude so that `include std/prelude` also works * add test
* stricter checks for RST headlines (#17089)Andrey Makarov2021-02-203-3/+3
|
* [nep1] Use `std` prefix for standard library modules (#17105)flywind2021-02-191-1/+4
|
* workaround #17091: manual.rst now renders as RST in github (#17092)Timothee Cour2021-02-191-7/+8
|
* contributing: prefer assert to doAssert in runnableExamples (#17077)Timothee Cour2021-02-181-7/+24
|
* followup #17065 (#17090)Timothee Cour2021-02-181-1/+1
|
* nep1: triple quote literals should start with newline (#17065)Timothee Cour2021-02-181-0/+21
|
* Fixing unexistant word in PT (#17070)KioriSun2021-02-171-1/+1
| | | | In line 289 it said PT =minino for cat. Cat in Portugues is Gato, like in spanish. minino sounds like a foreigner trying to pronounce menino, which means boy, not cat. For variation's sake, my suggestion is to use the italian(IT) version Gatto, since it keeps in line with being close to ES, alternatively the german(DE) version Katze could be used instead.
* document `since` (#17048)Timothee Cour2021-02-161-1/+1
| | | | * document `since` * address comment
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-151-0/+13
| | | | | | | | | * 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>
* rst: single backticks now render correctly in both rst2html and github (#17028)Timothee Cour2021-02-132-60/+64
| | | | | | * rst: `` => ` * support default-role in rst2html * update docstyle regarding single vs double backticks
* add system random to stdlib: std/sysrand (#16459)flywind2021-02-111-0/+3
|
* nep1: prefer `a..b` to `a .. b` except if `b` has an operator (eg: `a .. ↵Timothee Cour2021-02-101-0/+3
| | | | | | | | | -1`) (#16992) * nep1: prefer `a..b` to `a .. b` except if b has an operator * address comments * address comment