Nim/nimdoc/testproject
drtheuns 51ab7ccec1
Fix JS error on index page and detect dark mode (#18191)
* Fix JS error on index page and detect dark mode

The theindex.html page doesn't have a dark mode switch so the main
function will error because `toggleSwitch` is not defined. Checks have
been added to prevent this from happening.

Also add automatic detection of system settings for dark-mode. This
could also be done with pure css, but then the dark mode variable
declarations would have to be duplicated to work with the switch so I
went with this approach.

* Fix nimdoc tests

* Fix rst2html tests
2021-06-07 18:40:09 +02:00
..
expected Fix JS error on index page and detect dark mode (#18191) 2021-06-07 18:40:09 +02:00
subdir/subdir_b fix #16993, #18054, #17835 runnableExamples now works with templates and nested templates (#18082) 2021-06-02 09:02:14 -07:00
testproject.nim fix warnings/hints in nimdoc/tester.nim (#18083) 2021-05-30 22:40:42 +02:00
testproject.nimble added a test for 'nim doc' 2018-09-07 19:21:16 +02:00