Skip to content

Commit 2c6cf22

Browse files
committed
Remove plugins chapter
we don't want to support plugins
1 parent f7b3610 commit 2c6cf22

File tree

3 files changed

+2
-32
lines changed

3 files changed

+2
-32
lines changed

src/doc/rustdoc/src/SUMMARY.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
- [Command-line arguments](command-line-arguments.md)
55
- [In-source directives](in-source-directives.md)
66
- [Documentation tests](documentation-tests.md)
7-
- [Plugins](plugins.md)
8-
- [Passes](passes.md)
7+
- [Passes](passes.md)

src/doc/rustdoc/src/command-line-arguments.md

+1-27
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,6 @@ Similar to `--library-path`, `--extern` is about specifying the location
141141
of a dependency. `--library-path` provides directories to search in, `--extern`
142142
instead lets you specify exactly which dependency is located where.
143143

144-
145-
## `--plugin-path`: loading plugins
146-
147-
Using this flag looks like this:
148-
149-
```bash
150-
$ rustdoc src/lib.rs --plugin-path=/path/to/plugins
151-
```
152-
153-
Similar to `--library-path`, but for plugins. For more, see
154-
the [chapter on plugins](plugins.html).
155-
156-
See also: `--plugins`.
157-
158144
## `--passes`: add more rustdoc passes
159145

160146
Using this flag looks like this:
@@ -171,18 +157,6 @@ For more details on passes, see [the chapter on them](passes.html).
171157

172158
See also `--no-defaults`.
173159

174-
## `--plugins`:
175-
176-
Using this flag looks like this:
177-
178-
```bash
179-
$ rustdoc src/lib.rs --plugins foo bar
180-
```
181-
182-
For more, see the [chapter on plugins](plugins.html).
183-
184-
See also: `--plugin-path`.
185-
186160
## `--no-defaults`: don't run default passes
187161

188162
Using this flag looks like this:
@@ -345,4 +319,4 @@ $ rustdoc src/lib.rs --sysroot /path/to/sysroot
345319
```
346320

347321
Similar to `rustc --sysroot`, this lets you change the sysroot `rustdoc` uses
348-
when compiling your code.
322+
when compiling your code.

src/doc/rustdoc/src/plugins.md

-3
This file was deleted.

0 commit comments

Comments
 (0)