]> git.lizzy.rs Git - rust.git/commitdiff
build the crates guide
authorSteve Klabnik <steve@steveklabnik.com>
Thu, 23 Oct 2014 08:35:35 +0000 (04:35 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Thu, 23 Oct 2014 11:40:29 +0000 (07:40 -0400)
configure
mk/docs.mk
src/doc/guide-crates.md
src/doc/index.md
src/doc/po4a.conf

index 05bfdb3e9fd8a528efc4ab7a019003d0279e5fe4..ff1c1f4db016b41fa6b11af21f59c1e55ecf95fa 100755 (executable)
--- a/configure
+++ b/configure
@@ -928,6 +928,7 @@ do
     make_dir $h/test/doc-guide-container
     make_dir $h/test/doc-guide-tasks
     make_dir $h/test/doc-guide-plugin
+    make_dir $h/test/doc-guide-crates
     make_dir $h/test/doc-rust
 done
 
index ab73a72f00a83af1caea333fd202d8bff06fd554..9dbcb2c9bbcd567f56ff905d890e7d8db61cbd9c 100644 (file)
@@ -27,7 +27,7 @@
 ######################################################################
 DOCS := index intro tutorial guide guide-ffi guide-macros guide-lifetimes \
        guide-tasks guide-container guide-pointers guide-testing \
-       guide-plugin complement-bugreport \
+       guide-plugin guide-crates complement-bugreport \
        complement-lang-faq complement-design-faq complement-project-faq rust \
     rustdoc guide-unsafe guide-strings reference
 
index 8705bdd278ec7b384eb5a54bd0290e4d69d71ea2..50d76371cc51e3ce760e83ba17ccf7815e8b6e80 100644 (file)
@@ -452,7 +452,7 @@ fn main() {
 
 Rust will give us a compile-time error:
 
-```{rust,ignore}
+```{notrust,ignore}
    Compiling phrases v0.0.1 (file:///home/you/projects/phrases)
 /home/you/projects/phrases/src/main.rs:4:5: 4:40 error: a value named `hello` has already been imported in this module
 /home/you/projects/phrases/src/main.rs:4 use phrases::japanese::greetings::hello;
index ad548d3a8f93c331c0d64928087cccdece7c1a8e..8d54550a9f988d7e62f1d307e84f72d71db515ba 100644 (file)
@@ -57,6 +57,7 @@ a guide that can help you out:
 * [Strings](guide-strings.html)
 * [Pointers](guide-pointers.html)
 * [References and Lifetimes](guide-lifetimes.html)
+* [Crates and modules](guide-crates.html)
 * [Tasks and Communication](guide-tasks.html)
 * [Foreign Function Interface](guide-ffi.html)
 * [Writing Unsafe and Low-Level Code](guide-unsafe.html)
index 6fd4c95794ee7e96b72b1b79b7271a0abc275ac1..25f1a5fd3e2e40582b2c8c6d5890c5c9caabeda7 100644 (file)
@@ -19,6 +19,7 @@
 [type: text] src/doc/guide-tasks.md $lang:doc/l10n/$lang/guide-tasks.md
 [type: text] src/doc/guide-testing.md $lang:doc/l10n/$lang/guide-testing.md
 [type: text] src/doc/guide-unsafe.md $lang:doc/l10n/$lang/guide-unsafe.md
+[type: text] src/doc/guide-unsafe.md $lang:doc/l10n/$lang/guide-crates.md
 [type: text] src/doc/guide.md $lang:doc/l10n/$lang/guide.md
 [type: text] src/doc/index.md $lang:doc/l10n/$lang/index.md
 [type: text] src/doc/intro.md $lang:doc/l10n/$lang/intro.md