Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc0fbf1

Browse filesBrowse files
committed
doc: subdivide TOC, add auxiliary links
PR-URL: #6167 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com>
1 parent 150dd36 commit fc0fbf1
Copy full SHA for fc0fbf1

File tree

Expand file treeCollapse file tree

2 files changed

+38
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+38
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/_toc.md‎

Copy file name to clipboardExpand all lines: doc/api/_toc.md
+8Lines changed: 8 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
@// point at the new location.
33
* [About these Docs](documentation.html)
44
* [Usage & Example](synopsis.html)
5+
6+
<div class="line"></div>
7+
58
* [Assertion Testing](assert.html)
69
* [Buffer](buffer.html)
710
* [C/C++ Addons](addons.html)
@@ -39,3 +42,8 @@
3942
* [V8](v8.html)
4043
* [VM](vm.html)
4144
* [ZLIB](zlib.html)
45+
46+
<div class="line"></div>
47+
48+
* [GitHub Repo & Issue Tracker](https://github.com/nodejs/node)
49+
* [Mailing List](http://groups.google.com/group/nodejs)
Collapse file

‎doc/api_assets/style.css‎

Copy file name to clipboardExpand all lines: doc/api_assets/style.css
+30-1Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ em code {
9292
font-size: .8em;
9393
}
9494

95+
.line {
96+
width: calc(100% - 1em);
97+
display: block;
98+
padding-bottom: 1px;
99+
}
100+
95101
.api_stability {
96102
color: white !important;
97103
margin: 0 0 1em 0;
@@ -207,6 +213,12 @@ header h1 {
207213
padding-top: 1em;
208214
}
209215

216+
#apicontent .line {
217+
width: calc(50% - 1em);
218+
margin: 1em 1em .95em;
219+
background-color: #ccc;
220+
}
221+
210222
#toc + h1 {
211223
margin-top: 1em;
212224
padding-top: 0;
@@ -388,17 +400,34 @@ a code {
388400

389401
#column2 ul {
390402
list-style: none;
391-
margin: 1.25em 0;
403+
margin: .9em 0 .5em;
392404
background: #333;
393405
}
394406

407+
#column2 > :first-child {
408+
margin: 1.25em 1em;
409+
}
410+
411+
#column2 > ul:nth-child(2) {
412+
margin: 1.25em 0 .5em;
413+
}
414+
415+
#column2 > ul:last-child {
416+
margin: .9em 0 1.25em;
417+
}
418+
395419
#column2 ul li {
396420
padding-left: 1.4em;
397421
margin-bottom: .5em;
398422
padding-bottom: .5em;
399423
font-size: .8em;
400424
}
401425

426+
#column2 .line {
427+
margin: 0 .5em;
428+
background-color: #707070;
429+
}
430+
402431
#column2 ul li:last-child {
403432
margin-bottom: 0;
404433
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.