mirror of
https://github.com/servo/servo.git
synced 2025-09-22 04:40:09 +01:00
Clean up rustdoc run
1. The options specified in `rustdoc-with-private` are essentially the default now so we can remove this script. 2. `./mach browse-doc` is redundant with `./mach doc --open` which uses the underlying cargo functionality to browse the documentation. Fixes #29888.
This commit is contained in:
parent
836ae5fa48
commit
4d7f250159
4 changed files with 5 additions and 41 deletions
|
@ -1,8 +0,0 @@
|
|||
<style>
|
||||
.docblock table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.docblock table th, .docblock table td {
|
||||
border: 1px solid #888;
|
||||
}
|
||||
</style>
|
|
@ -1,16 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Emit documentation for private items so it is easier to look
|
||||
# up internal definitions.
|
||||
#
|
||||
# Deny "deny warnings" to ensure documenting the crates
|
||||
# succeeds even if new warnings are introduced to the compiler.
|
||||
|
||||
if [[ "$*" == *--document-private-items* ]]
|
||||
then
|
||||
ARGS=""
|
||||
else
|
||||
ARGS="--document-private-items"
|
||||
fi
|
||||
|
||||
rustdoc -Z "unstable-options" --cap-lints warn $ARGS "$@"
|
Loading…
Add table
Add a link
Reference in a new issue