Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | follow-up #17837: add `Console` for interactive sessions (#17930) | Andrey Makarov | 2021-05-06 | 1 | -6/+5 |
| | | | | | * follow-up #17837: add `Console` for interactive sessions * fix Latex | ||||
* | Fix nim-lang/nimforum#285 - punctuation after URL (#17908) | Andrey Makarov | 2021-05-01 | 1 | -11/+17 |
| | | | | | * Fix nim-lang/nimforum#285 - punctuation after URL * keep only one leaf in a rnStandaloneHyperlink * add more complex URL | ||||
* | close #16646; `since` now works with bootstrap nim post csources_v1 (#17895) | Timothee Cour | 2021-04-30 | 1 | -3/+2 |
| | | | | | | | * revive #16627 now that csources_v1 was merged * use dedent in rst.nim, refs https://github.com/nim-lang/Nim/pull/17257#discussion_r589025683 * fix test and improve rendering of a rst warning | ||||
* | more strict RST inline markup parsing (#17827) | Andrey Makarov | 2021-04-29 | 1 | -11/+41 |
| | | | | | * more strict RST inline markup parsing * add test for unexpected bonus * introduce `roPreferMarkdown` | ||||
* | add RST highlighting for command line / shells (also fixes #16858) (#17789) | Andrey Makarov | 2021-04-21 | 1 | -20/+29 |
| | |||||
* | rst indentation fixes (ref #17340) (#17715) | Andrey Makarov | 2021-04-15 | 1 | -31/+64 |
| | |||||
* | restyle RST option lists (#17637) | Andrey Makarov | 2021-04-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | * 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 Makarov | 2021-04-08 | 1 | -34/+76 |
| | | | | | | | * further progress on rst roles & dir-s (fix #17646) * fix documents according to the messages * fix bug 17 from #17340 | ||||
* | fix rst option list at EOF (follow-up #17442) (#17638) | Andrey Makarov | 2021-04-04 | 1 | -1/+1 |
| | |||||
* | enable syntax highlighting for inline code (#17585) | Andrey Makarov | 2021-04-02 | 1 | -20/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Makarov | 2021-03-29 | 1 | -18/+20 |
| | |||||
* | remove docutils.nimble (not a real nimble package, and affected canonical ↵ | Timothee Cour | 2021-03-29 | 1 | -3/+0 |
| | | | | | | | 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 Makarov | 2021-03-25 | 1 | -1/+72 |
| | |||||
* | fix #17260 render `\` properly in nim doc, rst2html (#17315) | Timothee Cour | 2021-03-24 | 1 | -5/+16 |
| | |||||
* | Rst test check messages (fix #17280) (#17338) | Andrey Makarov | 2021-03-17 | 1 | -9/+20 |
| | |||||
* | allow short-style rst references with symbols (#17372) | Andrey Makarov | 2021-03-17 | 1 | -11/+30 |
| | |||||
* | fix RST parsing when no indent after enum.item (fix #17249) (#17257) | Andrey Makarov | 2021-03-12 | 1 | -7/+44 |
| | |||||
* | Use readable escape sequences (#17241) | Clyybber | 2021-03-03 | 1 | -11/+11 |
| | |||||
* | RST heading improvements (fix #17091) (#17195) | Andrey Makarov | 2021-03-02 | 1 | -41/+97 |
| | |||||
* | make rst.nim use object variant (#17138) | Andrey Makarov | 2021-02-22 | 1 | -83/+79 |
| | | | | | | | * make rst.nim use object variant * add workaround * fix mistake | ||||
* | stricter checks for RST headlines (#17089) | Andrey Makarov | 2021-02-20 | 1 | -6/+33 |
| | |||||
* | RST: implement footnotes and citations (#16960) | Andrey Makarov | 2021-02-15 | 1 | -27/+365 |
| | | | | | | | | | * 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 Cour | 2021-02-13 | 1 | -0/+5 |
| | | | | | | * rst: `` => ` * support default-role in rst2html * update docstyle regarding single vs double backticks | ||||
* | parse RST headings when EOF follows them (#17014) | Andrey Makarov | 2021-02-12 | 1 | -3/+5 |
| | |||||
* | fix some warnings (#16952) | flywind | 2021-02-08 | 1 | -1/+1 |
| | |||||
* | RST: implement internal targets (#16614) | Andrey Makarov | 2021-01-11 | 1 | -41/+127 |
| | |||||
* | RST: improve line blocks (#16518) | Andrey Makarov | 2020-12-31 | 1 | -8/+16 |
| | |||||
* | RST: fix directive with fields (#16490) (#16493) | Andrey Makarov | 2020-12-29 | 1 | -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 Makarov | 2020-12-27 | 1 | -52/+103 |
| | |||||
* | RST enumlist followup (#16382) | Andrey Makarov | 2020-12-19 | 1 | -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 Makarov | 2020-12-14 | 1 | -26/+109 |
| | | | | | | | | | | | | * 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 | ||||
* | RST tables: fix latex col number; allow less than three of `=` (#16040) | Andrey Makarov | 2020-12-04 | 1 | -22/+75 |
| | |||||
* | refactoring: modernize rst.nim (#15953) | Miran | 2020-11-13 | 1 | -509/+449 |
| | |||||
* | rst: add support for markdown tables (#15854) | Miran | 2020-11-10 | 1 | -0/+73 |
| | | | | | | | * rst: add support for markdown tables * change template into proc * don't create unnecessary `seq[string]` | ||||
* | fix #11537, correct parse inline code without surrounding spaces (#15399) | Miran | 2020-09-25 | 1 | -0/+2 |
| | |||||
* | fix #14474, crash inside of a sole code-block (#15402) | Miran | 2020-09-24 | 1 | -0/+2 |
| | |||||
* | {.deprecated: [existsFile: fileExists].} (#14735) | Timothee Cour | 2020-07-02 | 1 | -2/+2 |
| | | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test | ||||
* | Remove the uses of {.procvar.} pragma (#14359) | Kaushal Modi | 2020-05-15 | 1 | -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 | ||||
* | Rst parser respect `:start-after:` and `:end-before:` in `include` directive ↵ | Kamanji | 2020-01-05 | 1 | -10/+39 |
| | | | | | | | | | | | | | (#12972) * [FEATURE] rst parser respect :start-after: in include Rst parser now respects `:start-after:` and `:end-before:` attributes for `include` directive. * [DOC] include directive parsing proc update * [TEST] Added unit tests for include rst directive in `rst` module | ||||
* | fix several typos in documentation and comments (#12553) | Nindaleth | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | rst: parse brackets individually, fixes #10475 (#10997) | Miran | 2019-04-10 | 1 | -6/+17 |
| | |||||
* | fixes a critical GC safety inference bug (#10615) | Andreas Rumpf | 2019-03-05 | 1 | -2/+2 |
| | | | | | | * fixes a critical GC safety inference bug * make nimsuggest compile again * make Nimble compile again | ||||
* | StringStream and parseJson, parseCfg, parseSql et al for the vm (#10746) | Arne Döring | 2019-02-28 | 1 | -9/+8 |
| | |||||
* | document proper imports, fixes #8164 (#10698) | Miran | 2019-02-19 | 1 | -0/+2 |
| | |||||
* | fixes #10602 | Araq | 2019-02-08 | 1 | -2/+2 |
| | |||||
* | RST parser: fixes #8158 | Araq | 2019-01-11 | 1 | -3/+3 |
| | |||||
* | docgen: support markdown headings too | Araq | 2019-01-11 | 1 | -8/+31 |
| | |||||
* | docgen: support markdown link syntax; enable markdown extensions | Araq | 2019-01-11 | 1 | -0/+28 |
| | |||||
* | name mangling: also special case the backslash character | Araq | 2018-09-17 | 1 | -0/+1 |
| | |||||
* | fixes #7500 | Araq | 2018-09-17 | 1 | -2/+26 |
| |