Andrey Makarov
9f7e2e3057
docs: make inline markup more compatible with Markdown ( #18053 )
...
fixes https://github.com/timotheecour/Nim/issues/739
2021-05-21 06:54:20 +02:00
Andrey Makarov
2096490b59
follow-up #17930 - inline syntax highlighting ( #18013 )
...
* follow-up #17930 - inline syntax highlighting
* make closure->nimcall
2021-05-16 23:55:14 +02:00
narimiran
60b4fa71a8
[ci skip] correctly explain how to use [backport] tags
2021-05-12 13:57:43 +02:00
gavr123456789
f533ed07bd
docs: fix syntax error in hotCodeReloading example ( #17999 )
...
#17998
Co-authored-by: g.maksutenko <g.maksutenko@indevstudio.com >
2021-05-12 19:20:57 +08:00
Andreas Rumpf
51f3ef6cb8
fixes #15848 [backport:1.2] ( #17959 )
2021-05-07 16:50:11 +02:00
Andreas Rumpf
56068101f6
tiny cleanup ( #17957 )
...
* tiny cleanup
* I'm not British
2021-05-07 13:56:37 +02:00
Andrey Makarov
436af88d8c
follow-up #17837 : add Console for interactive sessions ( #17930 )
...
* follow-up #17837 : add `Console` for interactive sessions
* fix Latex
2021-05-06 10:58:01 +02:00
Miran
94c4c01d9c
small improvements for tut1.rst ( #17935 )
...
* small improvements for tut1.rst
* remove unneeded paragraph
* Update doc/tut1.rst
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-05-05 07:44:33 +02:00
Andrey Makarov
e61381a293
follow-up #17692 : more inline syntax highlighting ( #17837 )
2021-04-29 17:16:14 +02:00
c-blake
601c050fcb
Implement https://forum.nim-lang.org/t/7848#50018 ( #17874 )
...
* Implement https://forum.nim-lang.org/t/7848#50018 with just the same
`SuccessX` hint category, build mode on a separate, final line, and
no change to how the mode is spelled for -d:release/-d:danger.
* Change to add a new BuildMode hint category and keep testament in sync
as per comment.
* Add "--hint:buildmode:off" to `defaultHintsOff`.
* Remove as requested.
* As requested for tests clean up.
* Address code review.
* Address code review.
* Mirror db45642311
2021-04-29 08:55:43 +02:00
Timothee Cour
b667e288e2
move travis, appveyor, ci.yml.disabled to unmaintained/ ( #17828 )
...
* move travis, appveyor, ci.yml.disabled to unmaintained
* update some mentions of travis, appevyor
* fix test
2021-04-24 07:54:31 +02:00
Timothee Cour
3516f57e17
manual: fix rendering of Identifiers & Keywords [skip ci] ( #17811 )
2021-04-23 13:51:24 +02:00
Andreas Rumpf
511b6d2449
typos ( #17824 )
2021-04-23 13:50:27 +02:00
Timothee Cour
e4a3feeb92
add --processing:dots|filenames|off to customize hintProcessing ( #17817 )
2021-04-23 08:07:22 +02:00
Andrey Makarov
8f79bc5f3d
add RST highlighting for command line / shells (also fixes #16858 ) ( #17789 )
2021-04-21 16:57:54 +02:00
Timothee Cour
da1c1a7117
--filenames:abs|canonical|legacyRelProj for filenames in compiler msgs (replaces --listfullpaths:on|off) (#17746 )
...
* use canonicalImport for filename_magicSauce
* --filenames:abs|canonical|magic
* rename: magic => legacyRelProj
2021-04-21 15:26:27 +02:00
Timothee Cour
7bce1f8578
close #13373 document (ref Foo)(a: 1) ( #17804 )
2021-04-21 07:33:56 +02:00
Andreas Rumpf
54fe44135e
updated the documentation ( #17796 )
2021-04-20 15:24:20 +02:00
Timothee Cour
fb02b56957
support skip ci in azure pipelines, and support it properly in github actions pipelines ( #17561 )
...
* support skip ci in azure pipelines
* [skip ci] example of a commit that skips CI
* example of a commit that does not skip CI
* fix github actions logic for ci skip handling
* [skip ci] example of a commit that skips CI for all pipelines
* example of a commit that does not skip CI for any pipeline
2021-04-20 09:01:53 +02:00
Andreas Rumpf
67e28c07f9
IC: first steps towards 'nim check --def --ic:on' ( #17714 )
...
* 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
2021-04-14 16:44:37 +02:00
Timothee Cour
ceadf54d76
iterable[T] ( #17196 )
...
* 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
2021-04-11 14:25:41 +02:00
Andrey Makarov
3aaec0647b
turn on syntax highlighting in Manual & Tutorial ( #17692 )
...
* turn on syntax highlighting in Manual & Tutorial
* avoid highlighting of "method"
* use relative path
* 2 more changes
2021-04-11 10:23:08 +02:00
Andrey Makarov
2150cd1826
restyle RST option lists ( #17637 )
...
* WIP: restyle RST option lists
* apply similar style to Latex
* fix tests
* minor visual tweaks
* update tests
* remove leftover comments
2021-04-10 09:49:01 +02:00
Timothee Cour
826ad2f36f
nep1: guidelines for getters and setters ( #17645 )
...
* nep1: guidelines for getters and setters
* address a comment
2021-04-09 07:09:04 +02:00
konsumlamm
e4b64eee89
Fix small typos ( #17680 )
2021-04-09 00:40:19 +02:00
Andreas Rumpf
2ac45a4794
undocument unsupported advanced options ( #17678 )
2021-04-09 00:18:07 +02:00
konsumlamm
9f0f477552
Update sysrand documentation ( #17676 )
...
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-04-08 12:41:43 -05:00
Andrey Makarov
42687457b0
further progress on rst roles & directives ( fix #17646 ) ( #17659 )
...
* further progress on rst roles & dir-s (fix #17646 )
* fix documents according to the messages
* fix bug 17 from #17340
2021-04-08 19:00:14 +02:00
Andreas Rumpf
4d3f9d3536
manual: minor improvements ( #17677 )
...
* manual: minor improvements
* Update doc/manual.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
2021-04-08 17:46:51 +02:00
Andreas Rumpf
643dbc743b
use strstr for a faster find implementation ( #17672 )
...
* use strstr for a faster find implementation
* stress the -d:release and -d:danger switches
2021-04-08 00:54:47 +02:00
Andreas Rumpf
bd7807de4c
fixes #17647 ( #17667 )
2021-04-07 23:26:53 +02:00
flywind
34c1c631bb
close #4451 ( #17627 )
2021-04-06 22:08:59 +02:00
Andrey Makarov
e35946f306
enable syntax highlighting for inline code ( #17585 )
...
* 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 >
2021-04-02 22:11:44 +02:00
flywind
2365b5250e
docs: note regarding emit with backticks ( #17608 )
2021-04-01 21:06:50 -07:00
narimiran
0be7f854ed
[ci skip] correct indentation this time
2021-03-31 13:45:14 +02:00
narimiran
d3529d0d5a
[ci skip] minor: fix indentation in manual.rst
2021-03-31 13:34:32 +02:00
Danil Yarantsev
8db93fd0a2
Fix entries in nimc advopt ( #17576 )
2021-03-30 08:04:17 +02:00
Arne Döring
159c06e045
unify tuple expressions ( #13793 )
...
* 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 >
2021-03-30 02:06:51 +02:00
Andrey Makarov
861c42c258
RST: enable parsing of prefix roles (ref #17340 ) ( #17514 )
2021-03-29 18:32:49 +02:00
Timothee Cour
04520c0ce4
remove std/ prefix from doc/lib.rst now that canonical import is shown in 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
2021-03-29 13:07:14 +02:00
Timothee Cour
bbe4cf4703
followup custom literals ( #17500 )
2021-03-27 12:03:14 -07:00
Timothee Cour
a65189a739
nnkArglist => nnkArgList + special case stylecheck:error ( #17529 )
...
* nnkArglist => nnkArgList
* special case stylecheck:error
2021-03-27 10:28:11 +01:00
Andreas Rumpf
3e03f67335
cleaned up the internal documentation ( #17524 )
2021-03-26 16:27:55 +01:00
flywind
045400ad92
ref https://github.com/nim-lang/Nim/pull/17333 ( #17495 )
2021-03-25 07:07:29 +01:00
Andreas Rumpf
355985ac89
custom integer literals bugfixes ( #17499 )
...
* custom integer literals bugfixes
* make nimsuggest compile again
2021-03-24 22:29:42 +01:00
Andreas Rumpf
5f5a92379f
custom integer literals ( #17489 )
...
* 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
2021-03-24 14:46:19 +01:00
Andreas Rumpf
86af2f7b50
make unary minus part of number literals, refs #17020 ( #17488 )
...
* make unary minus part of number literals, refs #17020
* fixes regression
2021-03-24 09:47:11 +01:00
Andrey Makarov
368422c219
update nimgrep documentation ( #17415 )
...
* update nimgrep documentation
* Update doc/nimgrep_cmdline.txt
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-03-23 18:12:27 +01:00
AFaurholt
5bed7d282a
added more modules to docs lib ( #17430 )
...
* 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 >
2021-03-21 18:35:22 +01:00
Danil Yarantsev
c5b109233a
Add documentation to the macrocache module ( #17431 )
...
* 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 >
2021-03-21 10:34:10 +01:00