]> git.lizzy.rs Git - rust.git/commitdiff
Add a TOC
authorsteveklabnik <steve@steveklabnik.com>
Fri, 6 Apr 2018 13:11:09 +0000 (09:11 -0400)
committersteveklabnik <steve@steveklabnik.com>
Mon, 9 Apr 2018 18:04:57 +0000 (14:04 -0400)
13 files changed:
src/doc/rustc/src/SUMMARY.md
src/doc/rustc/src/chapter_1.md [deleted file]
src/doc/rustc/src/codegen-options/index.md [new file with mode: 0644]
src/doc/rustc/src/command-line-arguments/index.md [new file with mode: 0644]
src/doc/rustc/src/contributing.md [new file with mode: 0644]
src/doc/rustc/src/lints/groups.md [new file with mode: 0644]
src/doc/rustc/src/lints/index.md [new file with mode: 0644]
src/doc/rustc/src/lints/levels.md [new file with mode: 0644]
src/doc/rustc/src/lints/listing/allowed-by-default.md [new file with mode: 0644]
src/doc/rustc/src/lints/listing/deny-by-default.md [new file with mode: 0644]
src/doc/rustc/src/lints/listing/index.md [new file with mode: 0644]
src/doc/rustc/src/lints/listing/warn-by-default.md [new file with mode: 0644]
src/doc/rustc/src/what-is-rustc.md [new file with mode: 0644]

index 7390c82896e56364c0237efd22d6abf04ebba615..197ff6ac410bbde392d9f43a865d94119cf226a9 100644 (file)
@@ -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 (file)
index b743fda..0000000
+++ /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 (file)
index 0000000..4350db5
--- /dev/null
@@ -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 (file)
index 0000000..162c0e4
--- /dev/null
@@ -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 (file)
index 0000000..e21b6fb
--- /dev/null
@@ -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 (file)
index 0000000..f35b53b
--- /dev/null
@@ -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 (file)
index 0000000..112c576
--- /dev/null
@@ -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 (file)
index 0000000..6aed1e9
--- /dev/null
@@ -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 (file)
index 0000000..19c4d94
--- /dev/null
@@ -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 (file)
index 0000000..0f6fd4f
--- /dev/null
@@ -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 (file)
index 0000000..e279644
--- /dev/null
@@ -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 (file)
index 0000000..5342b95
--- /dev/null
@@ -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 (file)
index 0000000..ac4c33e
--- /dev/null
@@ -0,0 +1 @@
+# What is rustc?