Implemented #[doc(cfg(...))].
This attribute has two effects: 1. Items with this attribute and their children will have the "This is supported on **** only" message attached in the documentation. 2. The items' doc tests will be skipped if the configuration does not match.
This commit is contained in:
parent
8f935fbb5b
commit
a2b888675a
12 changed files with 1129 additions and 16 deletions
|
|
@ -152,6 +152,7 @@ a.test-arrow {
|
|||
|
||||
.stab.unstable { background: #FFF5D6; border-color: #FFC600; }
|
||||
.stab.deprecated { background: #F3DFFF; border-color: #7F0087; }
|
||||
.stab.portability { background: #C4ECFF; border-color: #7BA5DB; }
|
||||
|
||||
#help > div {
|
||||
background: #e9e9e9;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue