Araq
3de255541a
docgen: do not produce trailing commas for links
2019-01-25 09:21:51 +01:00
Araq
13d667ee53
docgen: produce links for proc names
2019-01-25 09:21:51 +01:00
Araq
46d5fb9ed7
docgen: nicer indentation
2019-01-25 09:21:51 +01:00
Ico Doornekamp
7fcf51248b
Added --docInternal option to allow 'nim doc' to include non-exported symbols
2019-01-23 11:09:26 +01:00
Araq
5ef5dc86c5
docgen: support markdown link syntax; enable markdown extensions
2019-01-11 22:17:43 +01:00
Araq
5101b6befd
fixes #10188
2019-01-04 13:39:54 +01:00
Araq
086229459a
runnableExamples: compile and test them as a single file; fixes #9300
2019-01-04 09:52:22 +01:00
Timothee Cour
9a2736d999
fix #8289 ( #9828 )
2018-11-30 09:09:32 +01:00
Miran
313bbf5b9b
Change documentation details ( closes #5525 ) ( #9542 )
2018-10-31 07:40:05 +01:00
Araq
8f28be0dd8
docgen: make tests green again [backport]
2018-10-30 23:30:02 +01:00
Araq
c9e8b899ed
docgen: fixes #9235 [backport]
2018-10-30 23:29:47 +01:00
Araq
eb03684c57
docgen: fixes #9169 [backport]
2018-10-30 21:58:59 +01:00
PMunch
db95fad6fa
Fixes #9364 and add moduleDescription to jsondoc ( #9396 )
...
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.
2018-10-17 00:34:47 +02:00
Steve Kellock
173e8c4913
fixes unexpected transforming of runnableExamples ( #9158 )
2018-10-09 20:14:54 +02:00
LemonBoy
d36f98fa8b
nim doc can run code blocks ( #9228 )
2018-10-09 14:58:40 +02:00
Araq
6f23b05c09
docgen: fixes typo
2018-10-02 16:18:16 +02:00
Araq
34398a9d66
fixes #9140
2018-10-01 15:07:41 +02:00
Sergey Avseyev
c1f677a7c9
fix extension passing for rst2tex command
2018-09-29 23:24:57 +03:00
Araq
4046ee818f
fixes #9083
2018-09-27 22:34:06 +02:00
Araq
8029a649ba
math.nim: document what to use instead of 'fmod'
2018-09-25 00:10:21 +02:00
Andreas Rumpf
23c323ea1d
docgen tests: patch 'nim' commands to use the currently running exe instead
2018-09-18 15:27:54 +02:00
Andreas Rumpf
3467c455c0
fixes #1616 ; fixes 'nim doc' regressions
2018-09-17 19:54:56 +02:00
Araq
b9ed684dd2
index generation for docgen knows about subdirectories; index knows about enum values; fixes import statement for runnableExamples
2018-09-13 01:05:51 +02:00
Araq
f14f554435
nim doc: fixes cross-link generation when --out is used
2018-09-10 23:27:45 +02:00
Araq
769b562764
some protection against injected doc comments from templates
2018-09-08 10:45:51 +02:00
Araq
ca77f9388a
'nim doc': fixes index generation regression
2018-09-08 10:04:22 +02:00
Andreas Rumpf
b017138c32
added a test for 'nim doc'
2018-09-07 19:21:16 +02:00
Andreas Rumpf
86556ebfdb
compiler refactoring; use typesafe path handing; docgen: render symbols between modules
2018-09-07 19:21:16 +02:00
Andreas Rumpf
7f55bfc7d5
fixes #3655
2018-09-07 19:21:15 +02:00
Andreas Rumpf
e4be1cb814
system.compileDate and compileTime are in UTC; fixes #7305 ; docgen supports SOURCE_DATE_EPOCH, fixes #3113
2018-09-03 22:23:10 +02:00
Andreas Rumpf
0d68ef9f11
runnableExample: put each example to its own file; fixes #7285
2018-09-03 00:43:12 +02:00
Andreas Rumpf
06dbe9697f
fixes #8831
2018-09-03 00:43:12 +02:00
Andreas Rumpf
1948eadc24
change runnableExamples implementation; fixes #8641 ; fixes #7135 ; runnableExamples works for templates and generics
2018-09-02 22:56:26 +02:00
Timothee Cour
52bee6baba
partially fix #8218 : nim doc --project ( #8737 )
2018-08-23 10:18:10 +02:00
Andreas Rumpf
dae5450947
WIP: disallow 'nil' for strings and seqs
2018-08-13 11:41:33 +02:00
Andreas Rumpf
c57e320c94
fixes 7833 ( #8533 )
...
* fixes #7833 ; still to-do: fix setLen
* make tests green again
* also fixes setLen and string concats; refs #7833
* change formating to avoid a compiler warning
* emit the write barrier also for addChar
* fixes yet another regression
* make setLengthStr compile for the old version
* make growobjcrash complete earlier
2018-08-05 11:42:38 +02:00
Timothee Cour
c0f78ec012
fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 ( #8423 )
...
add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb
2018-07-30 14:02:18 +02:00
skilchen
2262c255e2
let runnableExamples start in a new paragraph ( #8355 )
...
fixes #8121 , fixes #8346
2018-07-18 07:51:39 +02:00
Quelklef
f2b6efb7dc
Make pragmas look clickable in docs ( #8176 )
...
* Visual cues for hidden pragmas in docs.
* Add hover cue
2018-07-17 12:14:31 +02:00
Araq
aef441101f
fixes docgen regression caused by refactorings; fixes #8097
2018-06-26 01:34:59 +02:00
Andreas Rumpf
73799903ee
removed global variable from rstgen.nim
2018-05-27 23:38:49 +02:00
Andreas Rumpf
545b1582cd
refactoring: make projectMainIdx typesafe
2018-05-27 22:30:36 +02:00
Andreas Rumpf
40ec7be45c
refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
2018-05-27 22:09:15 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
b2c7910fb6
compiler/ropes.nim has no global error handler anymore
2018-05-17 15:45:41 +02:00
Andreas Rumpf
bf6c2c5ccf
preparations of making compiler/msgs.nim free of global variables
2018-05-17 15:21:22 +02:00
Andreas Rumpf
328e7a1005
options.nim: no global variables anymore
2018-05-13 17:52:21 +02:00
Andreas Rumpf
efc2ce1b7e
docgen compiles again
2018-05-11 16:06:36 +02:00
Andreas Rumpf
a8a544a8f7
avoid more global variables
2018-05-11 15:01:28 +02:00
Andreas Rumpf
b7116a28ee
compiler refactoring, pass config around explicitly
2018-05-05 18:47:29 +02:00