summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* IC: first steps towards 'nim check --def --ic:on' (#17714)Andreas Rumpf2021-04-141-0/+3
| | | | | | | | | * IC: first steps towards 'nim check --def --ic:on' * IC navigator: deduplicate output lines * IC navigator: progress * IC navigator: use a different nimcache entry * IC navigator: special logic for templates/macros * IC navigator: proper error messages * IC navigator: prepare for testing code; document only what currently works somewhat
* iterable[T] (#17196)Timothee Cour2021-04-111-18/+25
| | | | | | | | * fix failing test toSeq in manual which now works * changelog * reject proc fn(a: iterable) * add iterable to spec * remove MCS/UFCS limitation that now works
* turn on syntax highlighting in Manual & Tutorial (#17692)Andrey Makarov2021-04-117-137/+149
| | | | | | | | | * turn on syntax highlighting in Manual & Tutorial * avoid highlighting of "method" * use relative path * 2 more changes
* restyle RST option lists (#17637)Andrey Makarov2021-04-101-0/+27
| | | | | | | | | | | | | * WIP: restyle RST option lists * apply similar style to Latex * fix tests * minor visual tweaks * update tests * remove leftover comments
* nep1: guidelines for getters and setters (#17645)Timothee Cour2021-04-091-0/+9
| | | | * nep1: guidelines for getters and setters * address a comment
* Fix small typos (#17680)konsumlamm2021-04-091-1/+1
|
* undocument unsupported advanced options (#17678)Andreas Rumpf2021-04-091-13/+6
|
* Update `sysrand` documentation (#17676)konsumlamm2021-04-081-4/+4
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* further progress on rst roles & directives (fix #17646) (#17659)Andrey Makarov2021-04-081-1/+1
| | | | | | | * further progress on rst roles & dir-s (fix #17646) * fix documents according to the messages * fix bug 17 from #17340
* manual: minor improvements (#17677)Andreas Rumpf2021-04-081-47/+47
| | | | | | | * manual: minor improvements * Update doc/manual.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* use strstr for a faster find implementation (#17672)Andreas Rumpf2021-04-081-1/+6
| | | | | * use strstr for a faster find implementation * stress the -d:release and -d:danger switches
* fixes #17647 (#17667)Andreas Rumpf2021-04-071-1/+1
|
* close #4451 (#17627)flywind2021-04-061-0/+8
|
* enable syntax highlighting for inline code (#17585)Andrey Makarov2021-04-021-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | * enable syntax highlighting for inline code * finish '.. default-role' and preliminary '.. role' implementation * more compact check in dirRole * set :literal: as default role for *.rst * Update lib/packages/docutils/rst.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * use whichRole for setting currRoleKind * Update lib/packages/docutils/rst.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * rename rnGeneralRole -> rnUnknownRole Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* docs: note regarding emit with backticks (#17608)flywind2021-04-011-3/+3
|
* [ci skip] correct indentation this timenarimiran2021-03-311-5/+5
|
* [ci skip] minor: fix indentation in manual.rstnarimiran2021-03-311-5/+5
|
* Fix entries in nimc advopt (#17576)Danil Yarantsev2021-03-301-3/+5
|
* unify tuple expressions (#13793)Arne Döring2021-03-301-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unify tuple expressions * fix test * fix test * apply feedback * Handle empty tuples * Fix rendering named unary tuple * Protect static NimNode against stripping * Slightly less hacky * Revert "Slightly less hacky" This reverts commit 170c5aec0addc029f637afbc948700ca006b7942. * Slightly less hacky * Cleanup * Fix test * Fix another test * Add condsym * Rebase fallout * changelog: Move from compiler changes to language changes * Add stricter tests * Add empty tuple example to doc/astspec * Fix test Co-authored-by: Clyybber <darkmine956@gmail.com>
* RST: enable parsing of prefix roles (ref #17340) (#17514)Andrey Makarov2021-03-291-0/+9
|
* 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
|