Skip to content

Commit 0c3ad8b

Browse files
committed
build the crates guide
1 parent 8a40854 commit 0c3ad8b

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,7 @@ do
928928
make_dir $h/test/doc-guide-container
929929
make_dir $h/test/doc-guide-tasks
930930
make_dir $h/test/doc-guide-plugin
931+
make_dir $h/test/doc-guide-crates
931932
make_dir $h/test/doc-rust
932933
done
933934

mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
######################################################################
2828
DOCS := index intro tutorial guide guide-ffi guide-macros guide-lifetimes \
2929
guide-tasks guide-container guide-pointers guide-testing \
30-
guide-plugin complement-bugreport \
30+
guide-plugin guide-crates complement-bugreport \
3131
complement-lang-faq complement-design-faq complement-project-faq rust \
3232
rustdoc guide-unsafe guide-strings reference
3333

src/doc/guide-crates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ fn main() {
452452
453453
Rust will give us a compile-time error:
454454
455-
```{rust,ignore}
455+
```{notrust,ignore}
456456
Compiling phrases v0.0.1 (file:///home/you/projects/phrases)
457457
/home/you/projects/phrases/src/main.rs:4:5: 4:40 error: a value named `hello` has already been imported in this module
458458
/home/you/projects/phrases/src/main.rs:4 use phrases::japanese::greetings::hello;

src/doc/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ a guide that can help you out:
5757
* [Strings](guide-strings.html)
5858
* [Pointers](guide-pointers.html)
5959
* [References and Lifetimes](guide-lifetimes.html)
60+
* [Crates and modules](guide-crates.html)
6061
* [Tasks and Communication](guide-tasks.html)
6162
* [Foreign Function Interface](guide-ffi.html)
6263
* [Writing Unsafe and Low-Level Code](guide-unsafe.html)

src/doc/po4a.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
[type: text] src/doc/guide-tasks.md $lang:doc/l10n/$lang/guide-tasks.md
2020
[type: text] src/doc/guide-testing.md $lang:doc/l10n/$lang/guide-testing.md
2121
[type: text] src/doc/guide-unsafe.md $lang:doc/l10n/$lang/guide-unsafe.md
22+
[type: text] src/doc/guide-unsafe.md $lang:doc/l10n/$lang/guide-crates.md
2223
[type: text] src/doc/guide.md $lang:doc/l10n/$lang/guide.md
2324
[type: text] src/doc/index.md $lang:doc/l10n/$lang/index.md
2425
[type: text] src/doc/intro.md $lang:doc/l10n/$lang/intro.md

0 commit comments

Comments
 (0)