Skip to content

Commit

Permalink
feature dracula themed doc (#12816)
Browse files Browse the repository at this point in the history
* Implement gorgeous Dracula themed Nim documentation

* Add color for escape sequences

* fixes the test cases

* the big CSS cleanup
  • Loading branch information
Araq authored Dec 10, 2019
1 parent 5929c3d commit c282cee
Show file tree
Hide file tree
Showing 9 changed files with 1,051 additions and 4,819 deletions.
821 changes: 54 additions & 767 deletions config/nimdoc.cfg

Large diffs are not rendered by default.

1,014 changes: 800 additions & 214 deletions doc/nimdoc.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/pure/os.nim
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ proc splitPath*(path: string): tuple[head, tail: string] {.
assert splitPath("usr/local/bin/") == ("usr/local/bin", "")
assert splitPath("/bin/") == ("/bin", "")
when (NimMajor, NimMinor) <= (1, 0):
assert splitPath("/bin") == ("", "bin")
assert splitPath("/bin") == ("", "bin")
else:
assert splitPath("/bin") == ("/", "bin")
assert splitPath("/bin") == ("/", "bin")
assert splitPath("bin") == ("", "bin")
assert splitPath("") == ("", "")

Expand Down
Loading

0 comments on commit c282cee

Please sign in to comment.