j-james
a250481dcd
Make the existence of high(type) clearer, especially near subranges ( #18286 )
...
* Make the existence of high(type) clearer, especially around subranges
* Use a better example and dry up the wording
2021-06-18 12:10:45 +02:00
Timothee Cour
e1e8af535e
merge BuildMode into SuccessX, remove code duplication w drnim, add useful info to successx, add gc to compilesettings ( #18252 )
...
* merge BuildMode into SuccessX, add more info
* refactor duplicated with drnim
* fixup
* address comment
2021-06-14 08:51:40 +02:00
Andreas Rumpf
2ea7287217
view types: spec changes ( #18226 )
...
* view types: spec changes
* Update doc/manual_experimental.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
* Update doc/manual_experimental.rst
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com >
2021-06-10 16:49:17 +02:00
Kaushal Modi
3481ff6172
Update nims.rst to reflect that -d:release is now allowed in config.nims ( #18221 )
...
`-d:release` and `-d:danger` started working in `config.nims` after df429fa287 .
2021-06-10 14:29:03 +02:00
Andrey Makarov
e7816a3e77
update docgen documentation ( #18192 )
...
* update docgen documentation
* --fullhelp
* Update doc/docgen.rst
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
* [skip ci] fix typos
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-06-06 09:55:20 +02:00
Andrey Makarov
7e21218a07
follow-up #18013 - inline syntax highlighting ( #18166 )
2021-06-04 16:16:51 +02:00
Andreas Rumpf
06232b7f2e
fixes #18058 ( #18162 )
2021-06-03 17:12:45 +02:00
Timothee Cour
60cbdbf37a
close #18092 document elif in case statements ( #18105 )
...
* close #18092 [skip ci] document elif in case statements
* fixup
* clarify spec; mention special rule for string in case statements
* address comments
2021-05-31 22:14:50 +02:00
quantimnot
c792154b03
Minor doc fixes; follow up to 17258 and 17259 ( #18123 )
...
Co-authored-by: quantimnot <quantimnot@users.noreply.github.com >
2021-05-29 12:39:46 -07:00
Timothee Cour
3b1aabdcff
change --hint[X] => --hint:X in nim repo (avoids shell quoting issues) ( #18085 )
2021-05-26 09:51:48 +02:00
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