Skip to content

Commit 744e411

Browse files
author
bors-servo
committedJul 13, 2015
Auto merge of #150 - servo:dom_sink_doc, r=SimonSapin
Fix dom_sink docs @chris-morgan, is that all the things? Fixes #148.
2 parents 69996c2 + 2790646 commit 744e411

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add html5ever as a dependency in your [`Cargo.toml`](http://crates.io/) file:
2222
html5ever = "*"
2323
```
2424

25-
Then take a look at [`examples/print-rcdom.rs`](https://github.com/servo/html5ever/blob/master/examples/print-rcdom.rs) and the [API documentation][].
25+
Then take a look at [`dom_sink/examples/print-rcdom.rs`](https://github.com/servo/html5ever/blob/master/dom_sink/examples/print-rcdom.rs) and the [API documentation][].
2626

2727
## Getting started in other languages
2828

‎STRUCTURE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The module structure is also documented in the output produced by `cargo doc`, a
1212

1313
`src/serialize/`: Turning trees back into strings. Corresponds to [section 12.3 "Serialising HTML fragments"](https://html.spec.whatwg.org/multipage/syntax.html#serialising-html-fragments)
1414

15-
`src/sink/`: Types that html5ever can use to represent the DOM, if you do not provide your own DOM implementation.
15+
`dom_sink/`: Types that html5ever can use to represent the DOM, if you do not provide your own DOM implementation.
1616

1717
`macros/`: Rust syntax extensions used within html5ever. Users of the library do not need this crate.
1818

@@ -22,6 +22,6 @@ The module structure is also documented in the output produced by `cargo doc`, a
2222

2323
`bench/`: Benchmarks. Another executable crate.
2424

25-
`examples/`: Examples of using the library. Each `.rs` file is an executable crate.
25+
`examples/` and `dom_sink/examples`: Examples of using the library. Each `.rs` file is an executable crate.
2626

2727
`data/`: Various data used in building and benchmarking the parser.

‎scripts/travis-build.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@
1010

1111
set -ex
1212

13-
cargo doc
1413
cargo test --no-run
1514
cargo test | ./scripts/shrink-test-output.py
1615
r=${PIPESTATUS[0]}
1716
if [ $r -ne 0 ]; then exit $r; fi
1817

18+
cargo test --manifest-path dom_sink/Cargo.toml --no-run
1919
cargo test --manifest-path dom_sink/Cargo.toml | ./scripts/shrink-test-output.py
2020
r=${PIPESTATUS[0]}
2121
if [ $r -ne 0 ]; then exit $r; fi
2222

2323
cargo test --manifest-path capi/Cargo.toml
24+
25+
cargo doc --manifest-path dom_sink/Cargo.toml
26+
mv dom_sink/target/doc target/doc

0 commit comments

Comments
 (0)
Please sign in to comment.