Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Move docs to docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Sep 9, 2016
1 parent 47e61a0 commit 9ee0e76
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .travis.yml
Expand Up @@ -9,11 +9,3 @@ script:
- cargo test
- cargo test --features hyper
- cargo doc --features hyper
after_success: |
[ $TRAVIS_RUST_VERSION = nightly ] &&
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=kuchiki/index.html>' > target/doc/index.html &&
pip install --user ghp-import &&
~/.local/bin/ghp-import -n target/doc &&
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@ Kuchiki (朽木)

HTML/XML¹ tree manipulation library for Rust.

[Documentation](https://simonsapin.github.io/kuchiki/kuchiki/index.html)
[Documentation](https://docs.rs/kuchiki/)

See [users.rust-lang.org discussion](http://users.rust-lang.org/t/kuchiki-a-vaporware-html-xml-tree-manipulation-library/435).

Expand Down
Empty file added docs/.nojekyll
Empty file.
3 changes: 3 additions & 0 deletions docs/404.html
@@ -0,0 +1,3 @@
<meta http-equiv="refresh" content="0; url=https://docs.rs/kuchiki/">
<link rel="canonical" href="https://docs.rs/kuchiki/">
<a href="https://docs.rs/kuchiki/">Moved to docs.rs</a>
3 changes: 3 additions & 0 deletions docs/index.html
@@ -0,0 +1,3 @@
<meta http-equiv="refresh" content="0; url=https://docs.rs/kuchiki/">
<link rel="canonical" href="https://docs.rs/kuchiki/">
<a href="https://docs.rs/kuchiki/">Moved to docs.rs</a>

0 comments on commit 9ee0e76

Please sign in to comment.