Skip to content

Commit 747dcaf

Browse files
remove unstable docs
1 parent c45a553 commit 747dcaf

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ $ rustdoc src/lib.rs --themes /path/to/your/theme/file.css
371371
Note that the theme's name will be the file name without its extension. So if you pass
372372
`/path/to/your/theme/file.css` as theme, then the theme's name will be `file`.
373373

374-
### `check-theme`: check if your themes implement all the required rules
374+
### `check-themes`: check if your themes implement all the required rules
375375

376376
This flag allows you to check if your themes implement the necessary CSS rules. To put it more
377377
simply, when adding a new theme, it needs to implements all the CSS rules present in the "light"
@@ -380,5 +380,5 @@ CSS theme.
380380
You can use this flag like this:
381381

382382
```bash
383-
$ rustdoc --check-theme /path/to/your/theme/file.css
383+
$ rustdoc --check-themes /path/to/your/theme/file.css
384384
```

src/doc/rustdoc/src/unstable-features.md

-24
Original file line numberDiff line numberDiff line change
@@ -324,30 +324,6 @@ some consideration for their stability, and names that end in a number). Giving
324324
`rustdoc` will disable this sorting and instead make it print the items in the order they appear in
325325
the source.
326326

327-
### `--themes`: provide additional themes
328-
329-
Using this flag looks like this:
330-
331-
```bash
332-
$ rustdoc src/lib.rs -Z unstable-options --themes theme.css
333-
```
334-
335-
Giving this flag to `rustdoc` will make it copy your theme into the generated crate docs and enable
336-
it in the theme selector. Note that `rustdoc` will reject your theme file if it doesn't style
337-
everything the "light" theme does. See `--check-theme` below for details.
338-
339-
### `--check-theme`: verify theme CSS for validity
340-
341-
Using this flag looks like this:
342-
343-
```bash
344-
$ rustdoc -Z unstable-options --check-theme theme.css
345-
```
346-
347-
Before including your theme in crate docs, `rustdoc` will compare all the CSS rules it contains
348-
against the "light" theme included by default. Using this flag will allow you to see which rules are
349-
missing if `rustdoc` rejects your theme.
350-
351327
### `--resource-suffix`: modifying the name of CSS/JavaScript in crate docs
352328

353329
Using this flag looks like this:

0 commit comments

Comments
 (0)