diff --git a/src/doc/rustc/src/SUMMARY.md b/src/doc/rustc/src/SUMMARY.md index 7390c82896e..197ff6ac410 100644 --- a/src/doc/rustc/src/SUMMARY.md +++ b/src/doc/rustc/src/SUMMARY.md @@ -1,3 +1,13 @@ -# Summary +# The Rustc Book -- [Chapter 1](./chapter_1.md) +- [What is rustc?](what-is-rustc.md) +- [Command-line arguments](command-line-arguments/index.md) +- [Lints](lints/index.md) + - [Lint levels](lints/levels.md) + - [Lint Groups](lints/groups.md) + - [Lint listing](lints/listing/index.md) + - [Allowed-by-default lints](lints/listing/allowed-by-default.md) + - [Warn-by-default lints](lints/listing/warn-by-default.md) + - [Deny-by-default lints](lints/listing/deny-by-default.md) +- [Codegen options](codegen-options/index.md) +- [Contributing to `rustc`](contributing.md) \ No newline at end of file diff --git a/src/doc/rustc/src/chapter_1.md b/src/doc/rustc/src/chapter_1.md deleted file mode 100644 index b743fda3546..00000000000 --- a/src/doc/rustc/src/chapter_1.md +++ /dev/null @@ -1 +0,0 @@ -# Chapter 1 diff --git a/src/doc/rustc/src/codegen-options/index.md b/src/doc/rustc/src/codegen-options/index.md new file mode 100644 index 00000000000..4350db56ef6 --- /dev/null +++ b/src/doc/rustc/src/codegen-options/index.md @@ -0,0 +1 @@ +# Codegen options diff --git a/src/doc/rustc/src/command-line-arguments/index.md b/src/doc/rustc/src/command-line-arguments/index.md new file mode 100644 index 00000000000..162c0e48d4e --- /dev/null +++ b/src/doc/rustc/src/command-line-arguments/index.md @@ -0,0 +1 @@ +# Command-line arguments diff --git a/src/doc/rustc/src/contributing.md b/src/doc/rustc/src/contributing.md new file mode 100644 index 00000000000..e21b6fbd14a --- /dev/null +++ b/src/doc/rustc/src/contributing.md @@ -0,0 +1 @@ +# Contributing to rustc diff --git a/src/doc/rustc/src/lints/groups.md b/src/doc/rustc/src/lints/groups.md new file mode 100644 index 00000000000..f35b53b6b99 --- /dev/null +++ b/src/doc/rustc/src/lints/groups.md @@ -0,0 +1 @@ +# Lint Groups diff --git a/src/doc/rustc/src/lints/index.md b/src/doc/rustc/src/lints/index.md new file mode 100644 index 00000000000..112c576a22c --- /dev/null +++ b/src/doc/rustc/src/lints/index.md @@ -0,0 +1 @@ +# Lints diff --git a/src/doc/rustc/src/lints/levels.md b/src/doc/rustc/src/lints/levels.md new file mode 100644 index 00000000000..6aed1e979f3 --- /dev/null +++ b/src/doc/rustc/src/lints/levels.md @@ -0,0 +1 @@ +# Lint levels diff --git a/src/doc/rustc/src/lints/listing/allowed-by-default.md b/src/doc/rustc/src/lints/listing/allowed-by-default.md new file mode 100644 index 00000000000..19c4d94edbb --- /dev/null +++ b/src/doc/rustc/src/lints/listing/allowed-by-default.md @@ -0,0 +1 @@ +# Allowed-by-default lints diff --git a/src/doc/rustc/src/lints/listing/deny-by-default.md b/src/doc/rustc/src/lints/listing/deny-by-default.md new file mode 100644 index 00000000000..0f6fd4fe931 --- /dev/null +++ b/src/doc/rustc/src/lints/listing/deny-by-default.md @@ -0,0 +1 @@ +# Deny-by-default lints diff --git a/src/doc/rustc/src/lints/listing/index.md b/src/doc/rustc/src/lints/listing/index.md new file mode 100644 index 00000000000..e279644e644 --- /dev/null +++ b/src/doc/rustc/src/lints/listing/index.md @@ -0,0 +1 @@ +# Lint listing diff --git a/src/doc/rustc/src/lints/listing/warn-by-default.md b/src/doc/rustc/src/lints/listing/warn-by-default.md new file mode 100644 index 00000000000..5342b954a09 --- /dev/null +++ b/src/doc/rustc/src/lints/listing/warn-by-default.md @@ -0,0 +1 @@ +# Warn-by-default lints diff --git a/src/doc/rustc/src/what-is-rustc.md b/src/doc/rustc/src/what-is-rustc.md new file mode 100644 index 00000000000..ac4c33e4b71 --- /dev/null +++ b/src/doc/rustc/src/what-is-rustc.md @@ -0,0 +1 @@ +# What is rustc?