Commit Graph

1252 Commits

Author SHA1 Message Date
Miran
d53e3db0eb fix #10287 (#10448) 2019-01-25 10:04:54 +01:00
narimiran
818b23ce7b include missing modules in lib.rst 2019-01-25 10:01:28 +01:00
Jjp137
9047fb7738 lib.rst: fix a typo (#10308) 2019-01-25 09:56:08 +01:00
narimiran
6b775905b6 remove float128 from the manual, fixes #10213 [ci skip]
(cherry picked from commit 258952832f)
2019-01-09 11:05:41 +01:00
Ico Doornekamp
f90ebaf6f3 Add link to tutorial part III to docs.rst (#10157) [ci skip]
(cherry picked from commit 31b8bc7866)
2019-01-03 09:50:43 +01:00
Araq
2e22bf4f5f tut3: improved the wording
(cherry picked from commit 1cc8b7814d)
2019-01-03 09:50:05 +01:00
Arne Döring
0e2bfe3e6b added a new macro tutorial (#9588)
(cherry picked from commit 30480605c1)
2019-01-03 09:49:56 +01:00
Josh Goebel
fa01531b8c fix outdated example to invoke Nim from C
- resolves #8139

(cherry picked from commit dace2a0999)
2018-11-28 17:50:36 +01:00
Andreas Rumpf
7d88738068 parser/grammar sync; fixes #9608 [backport]
(cherry picked from commit 4e94f49065)
2018-11-24 12:14:18 +01:00
Araq
ea2309a99f contributing guide: document the new [backport] convention
(cherry picked from commit b138e89772)
2018-11-01 18:07:39 +01:00
genotrance
01b36cce1e Make Windows cross-compilation simpler (#9485)
(cherry picked from commit 8500076651)
2018-11-01 17:56:42 +01:00
Timothee Cour
8f5a127e5c [doc] add tips to doc/contributing.rst: git, code review, CI (#9429) 2018-11-01 17:53:51 +01:00
Timothee Cour
6515810a2e [doc] start of best practices section in contributing.rst (#9415)
(cherry picked from commit 15dbd973de)
2018-11-01 17:51:33 +01:00
Araq
0d5355b5fd intern.rst: minor formating improvements
(cherry picked from commit 03a05ca456)
2018-11-01 17:49:38 +01:00
Bo Lingen
8637ca6983 docs(lib): update Nimble notes since package list is not inline anymore (#9397)
(cherry picked from commit 458aab0b10)
2018-11-01 17:49:17 +01:00
technicallyagd
aac04585ea Elaborate on source code filter usage in the documentation. (#9407)
* Elaborate on source code filter usage.
Also gives it an abbreviation, SCF.

* Fix the code block formatting

* Trim off the unintended usage with import.

(cherry picked from commit 88adf77569)
2018-11-01 17:48:06 +01:00
PMunch
b70b633e8e Fixes #9364 and add moduleDescription to jsondoc (#9396)
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.

(cherry picked from commit db95fad6fa)
2018-11-01 17:47:27 +01:00
Kaushal Modi
7e1d411279 Update config.nims search path in docs (#9388)
Related: https://github.com/nim-lang/Nim/pull/8682

Also mention the "nim help" command to list all available tasks.

(cherry picked from commit 3e9f506923)
2018-11-01 17:47:02 +01:00
Andreas Rumpf
90d18b75c2 fixes #9244
(cherry picked from commit b340f677eb)
2018-11-01 17:46:31 +01:00
Tomohiro
495585bc1e manual: Fix links to Parallel & Spawn (#9342)
(cherry picked from commit eb4272ba1c)
2018-11-01 17:36:02 +01:00
Jacek Sieka
7cf3944c38 Testament pre parallel (#9137)
* testament: move to root dir (it's not a test)

* osproc: fix process index passed to afterRunEvent for parallel runs

it was passing the index of the process, not index of all commands

* testament: complete file move

(cherry picked from commit 97738a4f28)
2018-11-01 17:35:08 +01:00
Tomohiro
faa9e7a582 manual: Remove stmt or expr template related text from manual (#9321)
(cherry picked from commit d2b04a8bc7)
2018-11-01 17:33:17 +01:00
Andrea Ferretti
fde803745e Clarify that term rewriting macros are applied recursively (#9305)
Fixes https://github.com/nim-lang/Nim/issues/9288 fixes https://github.com/nim-lang/Nim/issues/8376 and fixes https://github.com/nim-lang/Nim/issues/2901

(cherry picked from commit 160f8599c6)
2018-11-01 17:32:32 +01:00
technicallyagd
1e1a43dd23 Fixes some minor typos in nimsuggest.rst (#9223)
* Fix Minor typo in nimsuggest.rst

* Fixes two more typo in nimsuggest.rst

(cherry picked from commit 85187d4ba3)
2018-11-01 17:27:10 +01:00
Araq
c3465e4379 nimsuggest docs: minor update; v2 of the protocol is now the default 2018-10-02 19:41:20 +02:00
Araq
532e2ee0b2 more documentation improvements; fixes #9119 2018-09-29 20:10:44 +02:00
Araq
4f8cf945fb docs: remove most stale links; refs #9109 2018-09-29 11:23:29 +02:00
demotomohiro
119d76d80e Nim Compiler User Guide: Fix how user config file is searched 2018-09-29 02:37:14 +09:00
Andreas Rumpf
baccd1ad81 Merge pull request #9084 from demotomohiro/fixman
manual: fix typo in 'Pre-defined integer types'
2018-09-28 09:28:31 +02:00
Araq
017d7f5065 manual: fix the layout 2018-09-27 22:42:12 +02:00
Araq
a0ec1c1212 manual: fixes the wording of case statement macros 2018-09-27 22:34:49 +02:00
demotomohiro
c0d378c0aa manual: fix typo in 'Pre-defined integer types' 2018-09-28 00:13:58 +09:00
Kaushal Modi
9709ac2bca Fix RST formatting; reword a notice about -d:release in .nims 2018-09-25 08:42:19 -04:00
Kaushal Modi
aecfacd39a Remove nim.cfg mentions from NimScript (nims) docs
Other changes:

- Add macros module to the list of modules that can be imported in
  .nims files.
- Use "<myproject>" instead of "myproject" so that it looks more like
  a project name placeholder.
- Mention that switch proc cannot be used to set -d:release in
  NimScripts.
2018-09-24 14:11:54 -04:00
Clyybber
e5aff4b31b [Docs] Attribute citation to Richard Gabriel 2018-09-22 13:57:28 +02:00
Andreas Rumpf
4ae9198493 manual updates; document magical system.procCall; fixes #4329 2018-09-17 09:34:00 +02:00
Giovanni
f1b64e4b96 improve the compiler option "cppCompileToNamespace", a custom namespace can now be set 2018-09-15 20:10:54 +09:00
Andreas Rumpf
49d5fb60a7 Merge pull request #8806 from awr1/add-reorder-to-docs
[Docs] Added {.experimental: "codeReordering".} to manual
2018-09-15 00:38:06 +02:00
Araq
b1b58b88cc integrate 'koch web' features into koch; deprecate 'nimweb' tool 2018-09-13 18:47:53 +02:00
Araq
e934ad61eb cleanup lib.rst, remove deprecated modules 2018-09-13 10:01:52 +02:00
awr
e4c4cbc176 fixed language wrt initialization 2018-09-12 18:29:01 -05:00
awr
5ee924c711 whoops, forgot to remove old pragma section 2018-09-07 00:00:20 -05:00
awr
32deb70bae changed to {.experimental: codeReordering.}, postpoing declared() stuff 2018-09-06 23:49:38 -05:00
awr
47726ecb9e updated manual for declared() 2018-09-04 15:25:46 -05:00
Araq
6261309d1b document the fact that --define symbols are completely case insensitive; closes #7506 2018-09-03 12:09:14 +02:00
Araq
4e05bca96f manual: add a note about the terminating zero for strings; refs #5596 2018-09-03 12:06:34 +02:00
Araq
d1e3a7c827 document Nim's signal handling briefly; closes #8224 2018-09-03 12:02:56 +02:00
Araq
4b823b2825 manual: more documentation for the 'using' statement; closes #8565 2018-09-03 11:51:15 +02:00
Araq
602aeef4d4 manual: document the 'unsafeAddr' operator; closes #5038 2018-09-03 11:40:14 +02:00
Araq
4993274f2f document 'var T' and 'typedesc' restriction in generics; closes #1156 2018-09-03 11:38:15 +02:00