Commit Graph

24 Commits

Author SHA1 Message Date
ringabout
1ad618d96c clean up the documentation (#22196) 2023-07-02 22:36:05 +02:00
metagn
b0a98cc01e warn on set types bigger than max size, default to 0..255 for int literals (#21659)
* test implicitly huge set types

refs https://github.com/nim-lang/RFCs/issues/298

* oh my god

* boot at least

* don't error, fix remaining issues, no 2 len arrays

* fix runnable example

* test assuming 0..255 for int literal

* test refactor, add changelog, test
2023-04-17 20:55:22 +02:00
Xavier Noria
e669835665 Mention toSet in the docs of the set type (#21037) 2022-12-08 10:58:00 +01:00
Andrey Makarov
f6ee066ee2 Markdown links migration part 1 (#20319)
Markdown link migration part 1

Also the warning is improved a bit.

Local links (targeting inside its document) which had had a full anchor
were turned into concise form.
The very fact that they existed may be due to the bug in
reference to subsections fixed https://github.com/nim-lang/Nim/pull/20279,
now they are working well (both in RST syntax and
new Pandoc Markdown syntax implemented in
https://github.com/nim-lang/Nim/pull/20304)
2022-09-09 10:45:54 -04:00
ringabout
404e91ce48 provide better error messages for large set (#20207)
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2022-08-25 00:49:52 +02:00
Andrey Makarov
1c31de361d Markdown code blocks part 5 (#20236)
No logic was added, just a few more `*.md` files have been migrated.
2022-08-17 15:20:22 -04:00
Andrey Makarov
62b81d7f10 Markdown code blocks part 2; migrate Nim Manual (#20080)
* Change headings underscored by `~~~` to `###`

* Markdown code blocks part 2; migrate Nim Manual
2022-07-25 18:29:52 +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
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
Jjp137
93461aee34 Fix many broken links
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
2019-10-22 17:59:12 -07:00
narimiran
6f853a747a use proper mathematical expressions for subsets [ci skip]
Fixes https://github.com/nim-lang/website/issues/46
2019-06-04 14:57:04 +02:00
Araq
6ed1f2b939 docs: minor subjective improvement 2019-05-05 00:04:06 +02:00
Federico Ceratto
90a7460d91 Document bit fields usage (#11011) 2019-05-04 23:31:05 +02:00
narimiran
83f5839e2c manual: fix broken sentence 2019-02-19 09:07:25 +01:00
Andreas Rumpf
7b68da9bf1 manual: typo 2019-02-18 15:24:55 +01:00
Andreas Rumpf
739dc8094e make set specification more clear; refs #10524 2019-02-18 15:18:42 +01:00
Andreas Rumpf
fc52dd6463 Tut 1: tiny improvements 2018-02-05 21:13:18 +01:00
Simon Ruderich
a9e796e001 Misc documentation fixes 2016-09-17 15:53:12 +02:00
Adam Strzelecki
0b44d812f1 doc: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:10:48 +02:00
apense
66ce99d018 Update sets_fragment.txt 2015-07-08 14:13:00 -04:00
def
110c4aca7f Documentation renames 2015-01-16 00:22:49 +01:00
Araq
9e00d3aec2 fixes #693 2014-11-14 02:40:55 +01:00
Araq
3ea6446900 Nimrod renamed to Nim 2014-08-28 22:36:14 +02:00
Grzegorz Adam Hankiewicz
b87ec14579 Factors common documentation in fragment to avoid repetition. 2014-07-27 00:21:23 +02:00