Skip to content

Commit 2d8dd6a

Browse files
committed
doc: Add rustc and syntax to the index
1 parent da43832 commit 2d8dd6a

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

doc/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
[extra](extra/index.html)
2828
[green](green/index.html)
2929
[native](native/index.html)
30+
[syntax](syntax/index.html)
31+
[rustc](rustc/index.html)
3032

3133
# Tooling
3234

src/librustc/lib.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,24 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
/*!
12+
13+
The Rust compiler.
14+
15+
# Note
16+
17+
This API is completely unstable and subject to change.
18+
19+
*/
20+
1121
#[crate_id = "rustc#0.9"];
1222
#[comment = "The Rust compiler"];
1323
#[license = "MIT/ASL2"];
1424
#[crate_type = "dylib"];
1525
#[crate_type = "rlib"];
26+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
27+
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
28+
html_root_url = "http://static.rust-lang.org/doc/master")];
1629

1730
#[feature(macro_rules, globs, struct_variant, managed_boxes)];
1831

src/libsyntax/lib.rs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,23 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
/*! This module contains the Rust parser. It maps source text
12-
* to token trees and to ASTs. It contains code for expanding
13-
* macros.
14-
*/
11+
/*!
12+
13+
The Rust parser and macro expander.
14+
15+
# Note
16+
17+
This API is completely unstable and subject to change.
18+
19+
*/
1520

1621
#[crate_id = "syntax#0.9"];
1722
#[license = "MIT/ASL2"];
1823
#[crate_type = "dylib"];
1924
#[crate_type = "rlib"];
25+
#[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
26+
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
27+
html_root_url = "http://static.rust-lang.org/doc/master")];
2028

2129
#[feature(macro_rules, globs, managed_boxes)];
2230

0 commit comments

Comments
 (0)