Clyybber
41cf609fc7
Fix docs ( #13176 )
2020-01-16 22:22:17 +01:00
Timothee Cour
1b54be7779
fixes #12998 nim doc regression ( #13117 )
2020-01-16 14:19:58 +01:00
Andreas Rumpf
c282cee4db
feature dracula themed doc ( #12816 )
...
* Implement gorgeous Dracula themed Nim documentation
* Add color for escape sequences
* fixes the test cases
* the big CSS cleanup
2019-12-10 06:48:11 +01:00
Elliot Waite
5da27a891c
Removing the mention of using discard for block comments ( #12837 ) [backport]
...
* Remove mention of using `discard` for block comments
* Add a 32x32 alternate favicon
2019-12-08 20:16:17 +01:00
Ridho Pratama
7ef4bffa79
renderer letAux fix only for octal literal ( #12343 )
...
* renderer letAux fix only for octal literal
* Handle when it's octal -1 for i64
* Added testcases
2019-10-08 11:12:24 +02:00
Hugo Locurcio
0a1cb631a2
Implement some custom formatting for input fields in the documentation ( #11632 )
...
* Implement some custom formatting for input fields in the documentation
Aside of resulting in more consistent appearance across browsers,
this also fixes input form rendering when using Firefox with a
dark system theme on Linux.
* change the expected html in the tests
2019-07-03 07:40:24 +02:00
LemonBoy
7d217a71d3
Render deprecated pragmas ( #8886 )
...
* Render deprecated pragmas
* fix the expected html
* clean up the documentation regarding deprecations
* fix typo
* fix system.nim
* fix random
2019-06-03 10:15:20 +02:00
Anthon van der Neut
5c1c5902e2
fixes #10857 invisible span had width ( #10860 )
2019-03-19 10:38:48 +01:00
Miran
bba3a20e7c
documentation style tweaks ( #10790 )
...
* exports are the least important field in the docs:
they are put in the last place (at the bottom)
* indent text after proc/type declaration for an easier navigation
(noticeable difference between declarations and examples)
* quickfix invalid style in `asynchttpserver`
2019-03-08 13:55:26 +01:00
narimiran
21b256dbc9
fix documentation CSS
...
- make documentation usable on small (narrow) screens
- slightly smaller font size in tables
- fix search input width
2019-02-05 14:01:47 +01:00
Miran
8cb80238c4
update documentation CSS ( #10543 )
...
* update documentation CSS
* update the expected htmls
2019-02-04 12:27:02 +01:00
narimiran
ee8bc96a89
change the expected output of nim doc
2019-01-28 16:59:07 +01:00
Araq
3de255541a
docgen: do not produce trailing commas for links
2019-01-25 09:21:51 +01:00
Araq
ee7f2d97cc
docgen: support markdown headings too
2019-01-11 22:17:43 +01:00
Araq
48f73aaa1c
docgen: fixes #9432 [backport]
2018-10-31 00:19:24 +01:00
Kaushal Modi
2e5c759736
Make "koch docs" copy the dochack.js to the right location too
...
- Fixes https://github.com/nim-lang/Nim/issues/9104 .
- Fixes https://github.com/nim-lang/Nim/issues/9095 .
Expect dochack.js to be fetched from the doc/html/ dir instead of from
doc/.
Also remove an unused and unexported proc pathPart.
2018-09-29 13:15:29 -04:00
Kaushal Modi
903886396d
Don't prevent ',' from getting escaped in theindex.html
...
- 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 .
2018-09-28 15:39:22 -04:00
LemonBoy
4d9aec1858
Revert #7964
...
Somehow the test case doesn't crash anymore and the regression in the
doc generation is fixed.
Fixes #9019
2018-09-21 18:59:46 +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