File tree 7 files changed +13
-4
lines changed 7 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ matrix:
21
21
- env : TARGET=x86_64-unknown-linux-gnu
22
22
ALT=i686-unknown-linux-gnu
23
23
rust : nightly
24
+ install :
25
+ - cargo install mdbook
24
26
script :
25
27
- cargo test
26
28
- cargo doc --no-deps
@@ -31,7 +33,7 @@ matrix:
31
33
[ $(uname -s) = Linux ] &&
32
34
pip install ghp-import --user &&
33
35
$HOME/.local/bin/ghp-import -n target/doc &&
34
- git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages 2>&1 > /dev/null
36
+ git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages 2>&1 >/dev/null
35
37
36
38
exclude :
37
39
- rust : stable
Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ for doc in $DOCS; do
26
26
-o target/doc \
27
27
src/doc/$doc .md
28
28
done
29
+
30
+ # Temporary preview for mdBook docs
31
+ cd src/doc/book
32
+ $HOME /.cargo/bin/mdbook build --no-create --dest-dir ../../../target/doc/book
33
+ cd ../../../
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ index.md book/src/SUMMARY.md book/src/getting-started.md book/src/getting-starte
2
2
guide.md book/src/guide.md book/src/guide/*.md
3
3
build-script.md book/src/reference/build-scripts.md
4
4
config.md book/src/reference/config.md
5
- crates-io.md book/src/reference/crates-io .md
5
+ crates-io.md book/src/reference/publishing .md
6
6
environment-variables.md book/src/reference/environment-variables.md
7
7
external-tools.md book/src/reference/external-tools.md
8
8
manifest.md book/src/reference/manifest.md
Original file line number Diff line number Diff line change 22
22
* [ Configuration] ( reference/config.md )
23
23
* [ Environment Variables] ( reference/environment-variables.md )
24
24
* [ Build Scripts] ( reference/build-scripts.md )
25
- * [ Publishing on crates.io] ( reference/crates-io .md )
25
+ * [ Publishing on crates.io] ( reference/publishing .md )
26
26
* [ Package ID Specifications] ( reference/pkgid-spec.md )
27
27
* [ Source Replacement] ( reference/source-replacement.md )
28
28
* [ External Tools] ( reference/external-tools.md )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ The reference covers the details of various areas of Cargo.
10
10
* [ Configuration] ( reference/config.html )
11
11
* [ Environment Variables] ( reference/environment-variables.html )
12
12
* [ Build Scripts] ( reference/build-scripts.html )
13
- * [ Publishing on crates.io] ( reference/crates-io .html )
13
+ * [ Publishing on crates.io] ( reference/publishing .html )
14
14
* [ Package ID Specifications] ( reference/pkgid-spec.html )
15
15
* [ Source Replacement] ( reference/source-replacement.html )
16
16
* [ External Tools] ( reference/external-tools.html )
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
% Cargo, Rust’s Package Manager
2
2
3
+ # Installing
4
+
3
5
### Install Stable Rust and Cargo
4
6
5
7
The easiest way to get Cargo is to get the current stable release of [ Rust] by
You can’t perform that action at this time.
0 commit comments