Skip to content

Commit

Permalink
doc: fix v8 doc headings so 'make doc' passes
Browse files Browse the repository at this point in the history
Previously the code that builds the Table of Contents threw
an exception because of jump from an H1 heading directly to an H3
heading.

By changing the H3 heading to an H2, 'make doc' works again. This is
also consistent with other docs like console.markdown which use
H2 for method call documentation.

PR-URL: #203
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
markstos authored and bnoordhuis committed Dec 23, 2014
1 parent 00a7456 commit 0a8e987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/v8.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This module exposes events and interfaces specific to the version of [V8][]
built with node. These interfaces are subject to change by upstream and are
therefore not covered under the stability index.

### getHeapStatistics()
## getHeapStatistics()

Returns an object with the following properties

Expand All @@ -20,7 +20,7 @@ Returns an object with the following properties
}
```

### setFlagsFromString()
## setFlagsFromString()

Set additional V8 command line flags. Use with care; changing settings
after the VM has started may result in unpredictable behavior, including
Expand Down

0 comments on commit 0a8e987

Please sign in to comment.