about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2017-02-07 18:13:57 -0500
committerSteve Klabnik <steve@steveklabnik.com>2017-02-13 13:41:01 -0500
commita076961fd0e3d8a68f8b047460b8f5191d203b08 (patch)
treecb00bd5f4b6df0d1b669e90b286b3bfc0e8f6292 /src/doc
parent717ac960b51a5a2bbedf0e4da899aec7ab2ab7ee (diff)
downloadrust-a076961fd0e3d8a68f8b047460b8f5191d203b08.tar.gz
rust-a076961fd0e3d8a68f8b047460b8f5191d203b08.zip
Re-implement rustbook in terms of mdbook
mdbook has a lot of optional dependencies that we don't want, so instead
of using it directly, we re-build rustbook to use mdbook as a library.
For convenience' sake, we keep the same CLI interface as mdbook; the
only difference is that it only accepts build and test subcommands,
rather than the full range.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/book/src/SUMMARY.md3
-rw-r--r--src/doc/book/src/chapter_1.md1
-rw-r--r--src/doc/nomicon/src/SUMMARY.md3
-rw-r--r--src/doc/nomicon/src/chapter_1.md1
4 files changed, 8 insertions, 0 deletions
diff --git a/src/doc/book/src/SUMMARY.md b/src/doc/book/src/SUMMARY.md
new file mode 100644
index 00000000000..7390c82896e
--- /dev/null
+++ b/src/doc/book/src/SUMMARY.md
@@ -0,0 +1,3 @@
+# Summary
+
+- [Chapter 1](./chapter_1.md)
diff --git a/src/doc/book/src/chapter_1.md b/src/doc/book/src/chapter_1.md
new file mode 100644
index 00000000000..b743fda3546
--- /dev/null
+++ b/src/doc/book/src/chapter_1.md
@@ -0,0 +1 @@
+# Chapter 1
diff --git a/src/doc/nomicon/src/SUMMARY.md b/src/doc/nomicon/src/SUMMARY.md
new file mode 100644
index 00000000000..7390c82896e
--- /dev/null
+++ b/src/doc/nomicon/src/SUMMARY.md
@@ -0,0 +1,3 @@
+# Summary
+
+- [Chapter 1](./chapter_1.md)
diff --git a/src/doc/nomicon/src/chapter_1.md b/src/doc/nomicon/src/chapter_1.md
new file mode 100644
index 00000000000..b743fda3546
--- /dev/null
+++ b/src/doc/nomicon/src/chapter_1.md
@@ -0,0 +1 @@
+# Chapter 1