Skip to content

Commit 47659c6

Browse files
committed
Rely on docs.rs for documentation rather than hosting our own
1 parent 13a0456 commit 47659c6

File tree

2 files changed

+4
-39
lines changed

2 files changed

+4
-39
lines changed

.travis.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ matrix:
1515
allow_failures:
1616
- rust: nightly
1717

18-
addons:
19-
apt:
20-
packages:
21-
- libcurl4-openssl-dev
22-
- libelf-dev
23-
- libdw-dev
24-
- binutils-dev
25-
2618
env:
2719
global:
2820
- secure: "SsepHEYRmW9ee3RhxPpqGuPigZINFfA/yOwUJFseQt4t+Zs90r1xdl3Q8eDfPlnvBsL7Rd0QQrFDO7JUaimVLlgQkUnrl62o0CYzkodp+qtocyAHS00W6WTqi8Y6E6KBxPshCl03dRLaySUfx5TqTLTIHkJ0G6vDW35k7hRrA3221lRphs5rrpvAZ21pqsDsNLH3HVo792L6A0kOtBa3ocw1pgHLxnBbArIViu2htUuFvY/TgsmVbAdlow0efw/xkcJ/p0/r5q7igLek6Iqk8udfRc7CktvoiFQ2vUnhtNtQu/zYll3Q7OUx5d+w5lhbzz2QINmsezBEisH9k1haL7dMviLPp0pn4WZed60KovO0Iqfgjy1utTaKvJVfNWYsgkfU8c9a/z2rcZOKwXNKQW2ptBrtVjaB9dk7eMoyuFCDZwNtKqvG+ZKmvMpun+R8mmx+buOmN8Vlf5ygIoGxz3nbEtlLYGVTXHfdXXqRkFIwtiYVJEO7SLRKT9pbx1E++ARsi2+y8bXJT4e4z0osYMq9EsiFUpw3J2gcshrgseqkB7UgCZ3SXuitJnJNfDAU3a3nwwS/JiAunZMNnC4rKUBbl7WbTB4Cpw7EgVOlCqcyyzlkNl3xabLzTFzLOfSHLTVX5FmGNsD21vBoS5/8ejftx9wuV3rGHxuO3i3+A3k="
@@ -32,36 +24,6 @@ script:
3224
- cargo build --verbose --features iron-handlers
3325
- cargo test --verbose --features "iron-handlers expose-test-schema"
3426

35-
before_deploy:
36-
- rm -rf target/package/
37-
- cargo package --verbose
38-
39-
- |
40-
if [ "$TRAVIS_BRANCH" = master -a "$TRAVIS_PULL_REQUEST" = false -a "$TRAVIS_RUST_VERSION" = stable ]; then
41-
set -e
42-
43-
cargo doc --features iron-handlers
44-
45-
mkdir -p ~/.ssh
46-
openssl aes-256-cbc -K $encrypted_7258158212d8_key -iv $encrypted_7258158212d8_iv -in _build/travis-juniper.enc -out ~/.ssh/id_rsa -d
47-
chmod 600 ~/.ssh/id_rsa
48-
49-
git clone --branch gh-pages [email protected]:mhallin/juniper deploy_docs
50-
cd deploy_docs
51-
52-
git config user.name 'Juniper Documentation Builder'
53-
git config user.email '[email protected]'
54-
55-
rm -rf *
56-
mv ../target/doc/* .
57-
58-
echo '<meta http-equiv="refresh" content="0; url=juniper/index.html">' > index.html
59-
60-
git add -A *
61-
git commit -qm 'Update documentation for Juniper'
62-
git push -q origin gh-pages
63-
fi
64-
6527
deploy:
6628
provider: releases
6729
api_key:

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@ authors = ["Magnus Hallin <[email protected]>"]
55
description = "GraphQL server library"
66
license = "BSD-2-Clause"
77
documentation = "http://mhallin.github.io/juniper"
8-
repository = "https://github.com/mhallin/juniper"
8+
repository = "https://docs.rs/juniper"
99
readme = "README.md"
1010
keywords = ["graphql", "server", "iron", "http", "web"]
1111
categories = ["web-programming"]
1212

13+
[package.metadata.docs.rs]
14+
features = [ "iron-handlers" ]
15+
1316
[[bench]]
1417
name = "bench"
1518
harness = false

0 commit comments

Comments
 (0)