summary refs log tree commit diff stats
path: root/lib/packages
Commit message (Collapse)AuthorAgeFilesLines
* rst indentation fixes (ref #17340) (#17715)Andrey Makarov2021-04-152-39/+74
|
* restyle RST option lists (#17637)Andrey Makarov2021-04-103-8/+16
| | | | | | | | | | | | | * WIP: restyle RST option lists * apply similar style to Latex * fix tests * minor visual tweaks * update tests * remove leftover comments
* further progress on rst roles & directives (fix #17646) (#17659)Andrey Makarov2021-04-082-36/+78
| | | | | | | * further progress on rst roles & dir-s (fix #17646) * fix documents according to the messages * fix bug 17 from #17340
* fix :number-lines: regression (#17639)Andrey Makarov2021-04-051-1/+1
|
* fix rst option list at EOF (follow-up #17442) (#17638)Andrey Makarov2021-04-041-1/+1
|
* enable syntax highlighting for inline code (#17585)Andrey Makarov2021-04-023-33/+125
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* RST: enable parsing of prefix roles (ref #17340) (#17514)Andrey Makarov2021-03-291-18/+20
|
* remove docutils.nimble (not a real nimble package, and affected canonical ↵Timothee Cour2021-03-296-13/+7
| | | | | | | imports) (#17544) * remove docutils.nimble (not a real nimble package, and affected canonical imports) * cleanup redundant references
* fix RST parsing after option lists (#17442)Andrey Makarov2021-03-251-1/+72
|
* fix #17260 render `\` properly in nim doc, rst2html (#17315)Timothee Cour2021-03-241-5/+16
|
* Rst test check messages (fix #17280) (#17338)Andrey Makarov2021-03-172-13/+24
|
* allow short-style rst references with symbols (#17372)Andrey Makarov2021-03-171-11/+30
|
* fix RST parsing when no indent after enum.item (fix #17249) (#17257)Andrey Makarov2021-03-122-9/+50
|
* Use readable escape sequences (#17241)Clyybber2021-03-032-62/+62
|
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-023-49/+107
|
* Replace double backticks with single backticks - Part 4 out of ~7 (#17216)Danil Yarantsev2021-03-011-2/+2
|
* fix code-block test bugs: fix #17183, fix ↵Timothee Cour2021-02-261-1/+4
| | | | | | | https://github.com/timotheecour/Nim/issues/620 (#17184) * fix code-block test bugs: fix #17183, fix https://github.com/timotheecour/Nim/issues/620 * cleanup
* make rst.nim use object variant (#17138)Andrey Makarov2021-02-223-130/+152
| | | | | | | * make rst.nim use object variant * add workaround * fix mistake
* stricter checks for RST headlines (#17089)Andrey Makarov2021-02-201-6/+33
|
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-153-35/+417
| | | | | | | | | * RST: implement footnotes and citations * manual fixup of nimdoc.out.css * remove unused code * shorter printing code * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* rst: single backticks now render correctly in both rst2html and github (#17028)Timothee Cour2021-02-133-0/+7
| | | | | | * rst: `` => ` * support default-role in rst2html * update docstyle regarding single vs double backticks
* parse RST headings when EOF follows them (#17014)Andrey Makarov2021-02-121-3/+5
|
* fix some warnings (#16952)flywind2021-02-082-2/+2
|
* RST: implement internal targets (#16614)Andrey Makarov2021-01-113-99/+218
|
* RST: improve line blocks (#16518)Andrey Makarov2020-12-313-12/+33
|
* RST: fix directive with fields (#16490) (#16493)Andrey Makarov2020-12-291-1/+2
| | | | | | | * RST: fix directive with fields (#16490) * Update tests/stdlib/trstgen.nim Co-authored-by: Clyybber <darkmine956@gmail.com>
* RST: implement admonitions (#16438)Andrey Makarov2020-12-273-54/+147
|
* RST enumlist followup (#16382)Andrey Makarov2020-12-191-7/+18
| | | | | * fix matching of enumerator #) * RST: markdown list with auto-enumerator `1`
* doc/rst2html: some few fixes for enumerated and bullet lists (#16295)Andrey Makarov2020-12-143-30/+161
| | | | | | | | | | | | * fix bullet/enumarated lists with many blank lines * fix enumerated list parsing * fix parse failure when next line after list empty * implement arbitrary start of enumerator * check that enumerators are in order * remove redundant start=x if x=1 or a * add some doc on implemented features * update start in rst_examples.rst * allow upper-case letters + more docs
* Added Python to highlite module. (#16286)Xabier Bello2020-12-081-14/+30
| | | | | | | | | | | * Added Python to highlite module. * Added the keywords for Python * Refactored the 'pythonLikeNextToken' into 'nimNextToken': - `lang` property added to GeneralTokenizer object, is set in `getNextToken`. - `nimNextToken` accepts `keywords` parameter, used for languages different from Nim. - Multiline comment available only for `langNim`.
* RST tables: fix latex col number; allow less than three of `=` (#16040)Andrey Makarov2020-12-042-23/+77
|
* fixed article duplication typos (#16216)ihlec2020-12-021-1/+1
|
* move rest of tests to testament (#16140)flywind2020-11-271-6/+0
| | | | * move rest of tests to testament * Update tests/stdlib/tsums.nim
* refactoring: modernize rst.nim (#15953)Miran2020-11-131-509/+449
|
* rst: add support for markdown tables (#15854)Miran2020-11-103-2/+75
| | | | | | | * rst: add support for markdown tables * change template into proc * don't create unnecessary `seq[string]`
* fixes bootstrapping for any machine that has a Nim already installed ↵Andreas Rumpf2020-10-201-7/+6
| | | | [backport:1.4] (#15660)
* fix #11537, correct parse inline code without surrounding spaces (#15399)Miran2020-09-251-0/+2
|
* fix #14474, crash inside of a sole code-block (#15402)Miran2020-09-241-0/+2
|
* fix #6430, support `:target:` for images (#15379)Miran2020-09-211-0/+12
|
* Remove unroll pragma from stdlib (#14706)Juan Carlos2020-08-261-4/+0
|
* fixes #14830Araq2020-07-061-1/+1
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-2/+2
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* Add rstgen.rstToLatex convenience proc for renderRstToOut and ↵Juan Carlos2020-06-121-0/+11
| | | | initRstGenerator with outLatex output, see https://github.com/nim-lang/fusion/pull/11#issuecomment-641804899 (#14629)
* Propagate the outDir to rstgen to fix hrefs for modules in subdirs (#14479)Kaushal Modi2020-05-281-3/+13
|
* docgen: mangling using _. instead of @@ to avoid issue (#14454)Timothee Cour2020-05-261-2/+2
|
* docgen: fix #14448 show @@ as .. in href text (#14451)Timothee Cour2020-05-251-1/+6
|
* fix some issues with --backend (#14363)Timothee Cour2020-05-161-1/+1
| | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
* Remove the uses of {.procvar.} pragma (#14359)Kaushal Modi2020-05-151-2/+2
| | | | | | | This pragma did nothing. Ref: - https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469 - https://github.com/nim-lang/Nim/issues/12975
* Make --backend:cpp|js work for :test: code-blocks as well (#14306)Kaushal Modi2020-05-111-1/+1
| | | | | | | | | Continues https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322 Ref: - https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322#commitcomment-39087584 - https://github.com/nim-lang/Nim/pull/14278 Fixes https://github.com/nim-lang/Nim/issues/13129 .
* Fix #13631 (#13789)Juan Carlos2020-03-291-2/+2
|