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
Andreas Rumpf
33b69f0ed0
refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654
2018-04-21 08:13:37 +02:00
Andreas Rumpf
ed9c28484a
docutils: make ':test:' work without argument
2018-04-15 22:16:07 +02:00
Araq
212fdc5946
added the 'x.p[:T]' notation for explicit generic instantiations in combination with the ddot calling syntax
2018-04-06 22:05:57 +02:00
Araq
7660e59afe
doc gen :test: feature: created a nested directory in order to keep Nim happy in parallel builds
2017-11-28 23:13:56 +01:00
Araq
cb8dd0252f
fixes #6831
2017-11-28 23:13:56 +01:00
Araq
942694d914
fixes the new ':test:' feature
2017-11-28 11:14:43 +01:00
Araq
8c634cdb2b
make the tests green again
2017-11-28 02:51:10 +01:00
Araq
5d2e86ea1a
the documentation generator now supports ':test:' for the testing of test snippets
2017-11-28 01:15:33 +01:00
Araq
8d1a5dc8e7
the documentation generator now supports system.runnableExamples
2017-11-26 02:51:11 +01:00
Dmitry Atamanov
870567d083
WIP: Add a advanced compiler command 'ctags' ( #6654 )
2017-11-15 22:07:22 +01:00
Andreas Rumpf
70ea45cdba
deprecated unary '<'
2017-10-29 08:37:13 +01:00
BigEpsilon
e2af486434
Add sections (type, var, let, const, using) support for reorder pragma ( #6326 )
2017-10-28 11:33:35 +02:00
Andreas Rumpf
1a61c4d46d
first implementation of the 'func' keyword
2017-09-23 23:22:53 +02:00
Ruslan Mustakov
606aab9cdf
Do not generate Source/Edit without git in config
2017-07-31 20:54:57 +07:00
Andreas Rumpf
76a28d8b83
nimsuggest: bugfix: also output documentation comments
2017-02-03 17:36:39 +01:00
Samadi van Koten
95682cdfb7
Remove docgen.nim's dependency on things being in path
...
compiler/docgen.nim relied heavily on $lib/packages/docutils being in
path at compile-time. While this works fine when building Nim itself,
things start breaking when using compiler as a nimble package.
2016-11-28 23:02:30 +00:00
Araq
773d17cd14
big refactoring: step 1
2016-10-31 15:34:44 +01:00