1
Fork 0

rustdoc: Add the concept of 'sections'

This commit is contained in:
Brian Anderson 2012-03-09 11:47:31 -08:00
parent 4ffcb95974
commit 0ad8265fee
6 changed files with 337 additions and 2 deletions

View file

@ -44,6 +44,7 @@ fn mk_itemdoc(id: ast::node_id, name: ast::ident) -> doc::itemdoc {
path: [],
brief: none,
desc: none,
sections: [],
reexport: false
}
}
@ -250,6 +251,7 @@ fn ifacedoc_from_iface(
name: method.ident,
brief: none,
desc: none,
sections: [],
args: argdocs_from_args(method.decl.inputs),
return: {
desc: none
@ -292,6 +294,7 @@ fn impldoc_from_impl(
name: method.ident,
brief: none,
desc: none,
sections: [],
args: argdocs_from_args(method.decl.inputs),
return: {
desc: none