From 2c6cf22a30bf09eb5183b1326e6c74347df72f77 Mon Sep 17 00:00:00 2001 From: steveklabnik Date: Mon, 14 Aug 2017 17:02:15 -0400 Subject: [PATCH] Remove plugins chapter we don't want to support plugins --- src/doc/rustdoc/src/SUMMARY.md | 3 +- src/doc/rustdoc/src/command-line-arguments.md | 28 +------------------ src/doc/rustdoc/src/plugins.md | 3 -- 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 src/doc/rustdoc/src/plugins.md diff --git a/src/doc/rustdoc/src/SUMMARY.md b/src/doc/rustdoc/src/SUMMARY.md index cd6883a719c18..73070c23b5c43 100644 --- a/src/doc/rustdoc/src/SUMMARY.md +++ b/src/doc/rustdoc/src/SUMMARY.md @@ -4,5 +4,4 @@ - [Command-line arguments](command-line-arguments.md) - [In-source directives](in-source-directives.md) - [Documentation tests](documentation-tests.md) -- [Plugins](plugins.md) -- [Passes](passes.md) \ No newline at end of file +- [Passes](passes.md) diff --git a/src/doc/rustdoc/src/command-line-arguments.md b/src/doc/rustdoc/src/command-line-arguments.md index 36c1b050dd50f..0f0bda65ce379 100644 --- a/src/doc/rustdoc/src/command-line-arguments.md +++ b/src/doc/rustdoc/src/command-line-arguments.md @@ -141,20 +141,6 @@ Similar to `--library-path`, `--extern` is about specifying the location of a dependency. `--library-path` provides directories to search in, `--extern` instead lets you specify exactly which dependency is located where. - -## `--plugin-path`: loading plugins - -Using this flag looks like this: - -```bash -$ rustdoc src/lib.rs --plugin-path=/path/to/plugins -``` - -Similar to `--library-path`, but for plugins. For more, see -the [chapter on plugins](plugins.html). - -See also: `--plugins`. - ## `--passes`: add more rustdoc passes Using this flag looks like this: @@ -171,18 +157,6 @@ For more details on passes, see [the chapter on them](passes.html). See also `--no-defaults`. -## `--plugins`: - -Using this flag looks like this: - -```bash -$ rustdoc src/lib.rs --plugins foo bar -``` - -For more, see the [chapter on plugins](plugins.html). - -See also: `--plugin-path`. - ## `--no-defaults`: don't run default passes Using this flag looks like this: @@ -345,4 +319,4 @@ $ rustdoc src/lib.rs --sysroot /path/to/sysroot ``` Similar to `rustc --sysroot`, this lets you change the sysroot `rustdoc` uses -when compiling your code. \ No newline at end of file +when compiling your code. diff --git a/src/doc/rustdoc/src/plugins.md b/src/doc/rustdoc/src/plugins.md deleted file mode 100644 index c0d5ed752c6a1..0000000000000 --- a/src/doc/rustdoc/src/plugins.md +++ /dev/null @@ -1,3 +0,0 @@ -# Plugins - -Coming soon! \ No newline at end of file