summary refs log tree commit diff stats
path: root/lib/packages/docutils
Commit message (Collapse)AuthorAgeFilesLines
* RST parser: fixes #8158Araq2019-01-111-3/+3
|
* docgen: support markdown headings tooAraq2019-01-111-8/+31
|
* docgen: support markdown link syntax; enable markdown extensionsAraq2019-01-112-0/+31
|
* docgen: render 'interpreted text' the same as inline literals for markdown ↵Araq2019-01-111-3/+1
| | | | compat
* Don't prevent ',' from getting escaped in theindex.htmlKaushal Modi2018-09-281-3/+7
| | | | | | - Enable escaping of links in theindex.html - Fixes https://github.com/nim-lang/Nim/issues/9107. - Second part of the fix for https://github.com/nim-lang/Nim/issues/9097.
* name mangling: also special case the backslash characterAraq2018-09-171-0/+1
|
* fixes #7500Araq2018-09-171-2/+26
|
* nim doc: simplifiy index generationAraq2018-09-131-7/+10
|
* index generation for docgen knows about subdirectories; index knows about ↵Araq2018-09-131-35/+45
| | | | enum values; fixes import statement for runnableExamples
* make highlite.nim compile againAraq2018-08-231-1/+1
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-222-17/+11
|
* WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-132-7/+6
|
* fixes more nil string bugsAraq2018-08-081-4/+3
|
* Better doc search (#8260)Ray Imber2018-07-201-4/+8
| | | | | | | | | | | | | | | | | | * Modified the doc generation to produce a custom data attribute to allow for better search functionality * Implemented fuzzy matching for the Nim Doc search instead of the simple regex match. * Fix to the WordBoundry state transition from code review with @Varriount. Also removed silly testing template that is no longer used. * Update fuzzysearch.nim * Update fuzzysearch.nim * Update fuzzysearch.nim * Update dochack.nim * Update dochack.nim
* RST hotfix: don't crash in rstnodeToRefnameAraq2018-06-141-0/+1
|
* fixex merge conflictsAraq2018-06-081-1/+1
|\
| * Multi byte characters should not be treated as part of an operatorOscar Nihlgård2018-06-031-1/+1
| |
* | removed global variable from rstgen.nimAndreas Rumpf2018-05-271-5/+8
|/
* Use new binarySearch everywhere (#7876)Dmitry Atamanov2018-05-251-24/+3
|
* Rstgen/xml tree fixes (#7823)Dominik Picheta2018-05-231-29/+34
| | | | | | | | | | | | | * Don't prefix lang names with "lang" in rstgen. * Implements ability to render xmltree w/o \n. Fixes <> for `data-*` attrs. * Various rstgen fixes. * Fixes security vulnerabilities due to not escaping some code. * Adds <video> support and improve `.. image:: ` directive. * Adds comment as requested.
* docgen compiles againAndreas Rumpf2018-05-111-2/+2
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-052-7/+0
|
* RST package: don't use obsolete toLower procAndreas Rumpf2018-04-291-1/+1
|
* docutils: no Babel fileAndreas Rumpf2018-04-152-6/+5
|
* docutils: make ':test:' work without argumentAndreas Rumpf2018-04-151-3/+6
|
* the documentation generator now supports ':test:' for the testing of test ↵Araq2017-11-283-24/+22
| | | | snippets
* the documentation generator now supports system.runnableExamplesAraq2017-11-261-1/+1
|
* language change: 'generic' and 'atomic' are not keywords anymoreAndreas Rumpf2017-11-211-6/+5
|
* Add possibility to get language class to listings (#6705)Silvio2017-11-081-2/+2
| | | | Add the possibility to add class `lang<Name>` to code listings. Needed for restricting `run` to nim code (see https://github.com/nim-lang/nimforum/pull/111 )
* fixes #6609; 'if' expressions support multiple statements; minor breaking changeAraq2017-11-051-1/+2
|
* 'with' and 'without' are not keywords anymoreAraq2017-09-301-2/+2
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-2/+2
|
* Make countLines() the same as len(splitLines(s)) (#5470)Simon Krauter2017-03-031-1/+1
| | | | | The result of countLines() is now increased by 1 compared to the old version. Fixes #5460.
* fixes #3078Andreas Rumpf2016-10-201-6/+9
|
* docgen: working search featureAraq2016-09-091-3/+3
|
* generated theindex.html is valid htmlAraq2016-09-091-10/+21
|
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
|
* fixes #2640Andreas Rumpf2016-05-311-4/+9
|
* Fixes to YAML highlighting support, added testsFelix Krause2016-04-011-7/+18
|
* Added YAML support to doctools/highliteFelix Krause2016-03-291-2/+296
|
* use 'using' instead of 'sig' keyword; cleans up new features a bitAndreas Rumpf2016-02-291-1/+1
|
* added 'sig' feature; removed tfShared support in the compilerAndreas Rumpf2016-02-281-1/+1
|
* Merge pull request #3831 from ephja/nimrod-to-nimAndreas Rumpf2016-02-062-9/+9
|\ | | | | nimrod -> nim
| * nimrod -> nimErik Johansson Andersson2016-02-052-9/+9
| |
* | RST: Output <object> for SVG images in HTMLFelix Krause2016-02-021-7/+17
|/
* implements final version of multiline commentsAndreas Rumpf2016-01-171-11/+30
|
* implements multi-line-comments; pounds are stripped from the doc commentsAndreas Rumpf2016-01-161-1/+16
|
* Made docgen emit valid XML by defaultFelix Krause2016-01-111-2/+2
|
* udpated the compiler and tester to use getOrDefaultAraq2015-10-131-10/+13
|
* Fix for image directive with periodssingularperturbation2015-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Saw in https://github.com/nim-lang/nimforum/issues/41 that there was an issue in rendering inline images. Traced back through rstgen and found that it was not counting something like: `.. image:: http://i.imgur.com/oCem13Y.png` as valid since it contained a period, and this wasn't in the set of valid characters, so the empty string is returned by default. Added a period to the allowable characters, and now renders correctly. Test case: ``` import rst, rstgen, strtabs var docConfig: StringTableRef docConfig = rstgen.defaultConfig() docConfig["doc.smiley_format"] = "/images/smilieys/$1.png" proc rstToHtml(content: string): string = result = rstgen.rstToHtml(content, {roSupportSmilies,roSupportMarkdown}, docConfig) var a: string = rstToHtml(".. image:: http://i.imgur.com/oCem13Y.png") echo a ```
revious revision' href='/akkartik/mu/blame/034new_text.cc?h=hlt&id=15936c91a9f8023dc868a021029f84b45aa50176'>^
aa3d29a5 ^
65151923 ^











































aa3d29a5 ^



























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226