* 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 |
||
|---|---|---|
| .. | ||
| rst2html | ||
| test_out_index_dot_html | ||
| testproject | ||
| rsttester.nim | ||
| tester.nim | ||