Skip to content

Commit 685b63a

Browse files
remove unstable docs
1 parent 7cbf31a commit 685b63a

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -294,30 +294,6 @@ some consideration for their stability, and names that end in a number). Giving
294294
`rustdoc` will disable this sorting and instead make it print the items in the order they appear in
295295
the source.
296296

297-
### `--themes`: provide additional themes
298-
299-
Using this flag looks like this:
300-
301-
```bash
302-
$ rustdoc src/lib.rs -Z unstable-options --themes theme.css
303-
```
304-
305-
Giving this flag to `rustdoc` will make it copy your theme into the generated crate docs and enable
306-
it in the theme selector. Note that `rustdoc` will reject your theme file if it doesn't style
307-
everything the "light" theme does. See `--check-theme` below for details.
308-
309-
### `--check-theme`: verify theme CSS for validity
310-
311-
Using this flag looks like this:
312-
313-
```bash
314-
$ rustdoc -Z unstable-options --check-theme theme.css
315-
```
316-
317-
Before including your theme in crate docs, `rustdoc` will compare all the CSS rules it contains
318-
against the "light" theme included by default. Using this flag will allow you to see which rules are
319-
missing if `rustdoc` rejects your theme.
320-
321297
### `--resource-suffix`: modifying the name of CSS/JavaScript in crate docs
322298

323299
Using this flag looks like this:

0 commit comments

Comments
 (0)