rust/src/librustdoc/html/static
bors 0ed03e5490 Auto merge of #43348 - kennytm:fix-24658-doc-every-platform, r=alexcrichton
Expose all OS-specific modules in libstd doc.

1. Uses the special `--cfg dox` configuration passed by rustbuild when running `rustdoc`. Changes the `#[cfg(platform)]` into `#[cfg(any(dox, platform))]` so that platform-specific API are visible to rustdoc.

2. Since platform-specific implementations often won't compile correctly on other platforms, `rustdoc` is changed to apply `everybody_loops` to the functions during documentation and doc-test harness.

3. Since platform-specific code are documented on all platforms now, it could confuse users who found a useful API but is non-portable. Also, their examples will be doc-tested, so must be excluded when not testing on the native platform. An undocumented attribute `#[doc(cfg(...))]` is introduced to serve the above purposed.

Fixes #24658 (Does _not_ fully implement #1998).
2017-08-13 03:00:20 +00:00
..
styles Implemented #[doc(cfg(...))]. 2017-08-10 13:43:59 +08:00
COPYRIGHT.txt Remove jquery dependency 2017-05-02 13:54:42 +02:00
FiraSans-LICENSE.txt webfonts: check-in licenses 2014-07-08 21:55:37 +02:00
FiraSans-Medium.woff rustdoc: Fix inclusion of the new fonts 2014-05-03 02:09:29 -07:00
FiraSans-Regular.woff rustdoc: Fix inclusion of the new fonts 2014-05-03 02:09:29 -07:00
Heuristica-Italic.woff rustdoc: Fix inclusion of the new fonts 2014-05-03 02:09:29 -07:00
Heuristica-LICENSE.txt Strip trailing whitespace 2015-03-15 11:25:43 -07:00
LICENSE-APACHE.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
LICENSE-MIT.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
main.js rustdoc: add unions to whitelist of sidebar types 2017-07-23 17:18:58 -07:00
normalize.css core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
rustdoc.css Rollup merge of #43795 - GuillaumeGomez:improve-variants-doc-style, r=QuietMisdreavus 2017-08-11 10:20:33 +02:00
SourceCodePro-LICENSE.txt Strip trailing whitespace 2015-03-15 11:25:43 -07:00
SourceCodePro-Regular.woff webfonts: serve Source Code Pro locally 2014-07-08 20:31:26 +02:00
SourceCodePro-Semibold.woff webfonts: serve Source Code Pro locally 2014-07-08 20:31:26 +02:00
SourceSerifPro-Bold.woff Update one corrupt webfont 2014-11-01 00:15:35 +01:00
SourceSerifPro-LICENSE.txt Strip trailing whitespace 2015-03-15 11:25:43 -07:00
SourceSerifPro-Regular.woff webfonts: proper fix 2014-07-08 20:29:36 +02:00