Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rst: remove `roSkipPounds` option (#18175) | Andrey Makarov | 2021-06-05 | 1 | -24/+4 |
| | |||||
* | docs: Latex generation improvements (#18141) | Andrey Makarov | 2021-06-01 | 2 | -62/+96 |
| | | | | | | | * docs: improve Latex generation * make it work on Windows + fix ] escaping * minor fixes with escapes and style | ||||
* | docs: make inline markup more compatible with Markdown (#18053) | Andrey Makarov | 2021-05-21 | 1 | -48/+97 |
| | | | fixes https://github.com/timotheecour/Nim/issues/739 | ||||
* | follow-up #17930 - inline syntax highlighting (#18013) | Andrey Makarov | 2021-05-16 | 1 | -11/+14 |
| | | | | | * follow-up #17930 - inline syntax highlighting * make closure->nimcall | ||||
* | RST opt.list to have priority over def.list (#17845) | Andrey Makarov | 2021-05-15 | 1 | -2/+2 |
| | |||||
* | `doc2tex`: generate docs to Latex (#17997) | Andrey Makarov | 2021-05-14 | 2 | -30/+33 |
| | | | | | * `doc2tex`: generate docs to Latex * address some comments | ||||
* | follow-up #17837: add `Console` for interactive sessions (#17930) | Andrey Makarov | 2021-05-06 | 2 | -14/+33 |
| | | | | | * follow-up #17837: add `Console` for interactive sessions * fix Latex | ||||
* | highlite: fix #17890 - tokenize Nim escape seq-s (#17919) | Andrey Makarov | 2021-05-03 | 1 | -19/+33 |
| | | | | | | | | | * highlite: fix #17890 - tokenize Nim escape seq-s * Update tests/stdlib/thighlite.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> | ||||
* | 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 | 4 | -29/+125 |
| | |||||
* | rst indentation fixes (ref #17340) (#17715) | Andrey Makarov | 2021-04-15 | 2 | -39/+74 |
| | |||||
* | restyle RST option lists (#17637) | Andrey Makarov | 2021-04-10 | 3 | -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 Makarov | 2021-04-08 | 2 | -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 Makarov | 2021-04-05 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -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 Makarov | 2021-03-29 | 1 | -18/+20 |
| | |||||
* | remove docutils.nimble (not a real nimble package, and affected canonical ↵ | Timothee Cour | 2021-03-29 | 6 | -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 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 | 2 | -13/+24 |
| | |||||
* | 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 | 2 | -9/+50 |
| | |||||
* | Use readable escape sequences (#17241) | Clyybber | 2021-03-03 | 2 | -62/+62 |
| | |||||
* | RST heading improvements (fix #17091) (#17195) | Andrey Makarov | 2021-03-02 | 3 | -49/+107 |
| | |||||
* | Replace double backticks with single backticks - Part 4 out of ~7 (#17216) | Danil Yarantsev | 2021-03-01 | 1 | -2/+2 |
| | |||||
* | fix code-block test bugs: fix #17183, fix ↵ | Timothee Cour | 2021-02-26 | 1 | -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 Makarov | 2021-02-22 | 3 | -130/+152 |
| | | | | | | | * 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 | 3 | -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 Cour | 2021-02-13 | 3 | -0/+7 |
| | | | | | | * 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 | 2 | -2/+2 |
| | |||||
* | RST: implement internal targets (#16614) | Andrey Makarov | 2021-01-11 | 3 | -99/+218 |
| | |||||
* | RST: improve line blocks (#16518) | Andrey Makarov | 2020-12-31 | 3 | -12/+33 |
| | |||||
* | 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 | 3 | -54/+147 |
| | |||||
* | 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 | 3 | -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 Bello | 2020-12-08 | 1 | -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 Makarov | 2020-12-04 | 2 | -23/+77 |
| | |||||
* | fixed article duplication typos (#16216) | ihlec | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | move rest of tests to testament (#16140) | flywind | 2020-11-27 | 1 | -6/+0 |
| | | | | * move rest of tests to testament * Update tests/stdlib/tsums.nim | ||||
* | refactoring: modernize rst.nim (#15953) | Miran | 2020-11-13 | 1 | -509/+449 |
| | |||||
* | rst: add support for markdown tables (#15854) | Miran | 2020-11-10 | 3 | -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 Rumpf | 2020-10-20 | 1 | -7/+6 |
| | | | | [backport:1.4] (#15660) | ||||
* | 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 |
| |