Skip to content

Commit 9120f2b

Browse files
doc: update style for iojs
* updates the styling for the iojs docs * pulls the processing step for markdown files into a separate module * adds the ability to insert comments into the markdown PR-URL: nodejs#297 Fixes: nodejs/iojs.org#23 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 3a85eac commit 9120f2b

File tree

7 files changed

+325
-386
lines changed

7 files changed

+325
-386
lines changed

doc/api/_toc.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@// NB(chrisdickinson): if you move this file, be sure to update tools/doc/html.js to
2+
@// point at the new location.
13
* [About these Docs](documentation.html)
24
* [Synopsis](synopsis.html)
35
* [Assertion Testing](assert.html)

doc/api_assets/sh.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
}
1010

1111
.sh_sourceCode .sh_keyword {
12-
color: #c96;
12+
color: #338;
1313
}
1414

1515
.sh_sourceCode .sh_string,
1616
.sh_sourceCode .sh_regexp,
1717
.sh_sourceCode .sh_number,
1818
.sh_sourceCode .sh_specialchar {
19-
color: #690;
19+
color: #E54305;
2020
}
2121

2222
.sh_sourceCode .sh_comment {
2323
color: #666;
24+
font-weight: lighter;
2425
}

0 commit comments

Comments
 (0)