Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dom_sink docs #150

Merged
merged 3 commits into from
Jul 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ Add html5ever as a dependency in your [`Cargo.toml`](http://crates.io/) file:
html5ever = "*"
```

Then take a look at [`examples/print-rcdom.rs`](https://github.com/servo/html5ever/blob/master/examples/print-rcdom.rs) and the [API documentation][].
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][].

## Getting started in other languages

4 changes: 2 additions & 2 deletions STRUCTURE.md
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ The module structure is also documented in the output produced by `cargo doc`, a

`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)

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

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

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

`bench/`: Benchmarks. Another executable crate.

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

`data/`: Various data used in building and benchmarking the parser.
5 changes: 4 additions & 1 deletion scripts/travis-build.sh
Original file line number Diff line number Diff line change
@@ -10,14 +10,17 @@

set -ex

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

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

cargo test --manifest-path capi/Cargo.toml

cargo doc --manifest-path dom_sink/Cargo.toml
mv dom_sink/target/doc target/doc