Commit graph

122 commits

Author SHA1 Message Date
Brian Anderson
368daf8b5a Change rustc and rustdoc's #[desc] attribute to #[comment]
There are two attributes in use for this same purpose.
2012-01-23 16:25:20 -08:00
Brian Anderson
50d8e9f2a1 Revert "rustdoc: Get the crate brief description from the 'desc' attr"
This reverts commit 521e58a3c4.

Some crates use 'desc', some 'comment' - I want them to just use 'doc'
2012-01-23 16:23:08 -08:00
Brian Anderson
f4c31bda62 rustdoc: Print return value descriptions on same line as type 2012-01-23 16:18:01 -08:00
Brian Anderson
fa3368bc71 rustdoc: Prune undocumented return values 2012-01-23 16:18:01 -08:00
Brian Anderson
a7d3544d10 rustdoc: Don't prune functions with documented arguments 2012-01-23 16:18:01 -08:00
Brian Anderson
5cff7c093e rustdoc: Prune undocumented fn args 2012-01-23 16:18:01 -08:00
Brian Anderson
e515999324 rustdoc: Prune undocumented modules 2012-01-23 15:40:01 -08:00
Brian Anderson
521e58a3c4 rustdoc: Get the crate brief description from the 'desc' attr 2012-01-23 15:16:14 -08:00
Graham Fawcett
7763b40c71 issue #1352: change param order on vec::init_elt, putting block in final position.
To match the init_fn() and init_fn_mut() changes.
2012-01-21 13:33:16 -08:00
Graydon Hoare
7b1a8f0a91 Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. Close #1428. 2012-01-19 19:29:21 -08:00
Brian Anderson
fdbe206a76 rustdoc: Make doc::retdoc non-optional 2012-01-19 19:14:29 -08:00
Brian Anderson
2d2bdfe845 rustdoc: Write markdown for function signatures 2012-01-19 18:59:02 -08:00
Brian Anderson
c6278e53dc rustdoc: Remove debug logging 2012-01-19 18:36:20 -08:00
Brian Anderson
2a442f9f8f rustdoc: Add function signatures to the doc tree 2012-01-19 18:14:17 -08:00
Brian Anderson
052340980b rustdoc: Add function signature field to the doc::fndoc 2012-01-19 18:14:17 -08:00
Patrick Walton
035b56d8aa misc: "tag" -> "enum" for cargo, compiletest, fuzzer, rustdoc 2012-01-19 16:21:33 -08:00
Brian Anderson
840a057556 rustdoc: Add a blank line after the return value description 2012-01-19 14:35:19 -08:00
Brian Anderson
df9bf1f45f rustdoc: Attach return value descriptions to the doc tree 2012-01-19 14:35:18 -08:00
Brian Anderson
00afef0bd8 rustdoc: Run tystr pass before attr pass 2012-01-19 14:35:18 -08:00
Tim Chevalier
5b028f527f Remove support for the '.' after a nullary tag in a pattern
(Commit also includes lots of changes to remove '.'s that a git
merge messed up, or else it was monkeys.)
2012-01-19 01:04:59 -08:00
Brian Anderson
9df0306889 rustdoc: Cleanup 2012-01-19 00:14:41 -08:00
Brian Anderson
f77458a676 rustdoc: Remove nullary-tag dots 2012-01-19 00:08:51 -08:00
Brian Anderson
398dadfeca rustdoc: Write the full path to each mod 2012-01-19 00:04:59 -08:00
Brian Anderson
42e5d451b7 rustdoc: Change the header scheme so that all mods are h2, fns h3 2012-01-19 00:04:59 -08:00
Brian Anderson
a5e0f037be rustdoc: Add path_pass for recording full paths to mods 2012-01-19 00:04:59 -08:00
Brian Anderson
c54f53b9d9 rustdoc: Add path field to doc::moddoc 2012-01-19 00:04:59 -08:00
Tim Chevalier
04a2887f87 Remove '.' after nullary tags in patterns
Does what it says on the tin.

The next commit will remove support for this syntax.
2012-01-18 23:17:34 -08:00
Brian Anderson
ca7cfbe3d0 rustdoc: Add more rustdocs 2012-01-18 23:11:20 -08:00
Brian Anderson
fb82e6ab79 rustdoc: Write fn arg descriptions to markdown 2012-01-18 22:40:06 -08:00
Brian Anderson
266cc7b0c3 rustdoc: Add fn arg descriptions to the doc tree 2012-01-18 22:24:29 -08:00
Brian Anderson
515fdb2863 rustdoc: Change field order on doc::fndoc 2012-01-18 21:57:18 -08:00
Brian Anderson
e9ddfbe3fd rustdoc: Ignore nil-typed return values 2012-01-18 21:50:35 -08:00
Brian Anderson
a02a943cec rustdoc: Write markdown for mod description 2012-01-18 21:33:37 -08:00
Brian Anderson
20b8509594 rustdoc: Add mod docs attrs to the doc tree 2012-01-18 19:59:24 -08:00
Brian Anderson
e39e34776e rustdoc: Assign AST ids to mod docs 2012-01-18 19:59:24 -08:00
Brian Anderson
5bbf72e11c rustdoc: Add brief and desc fields to module docs 2012-01-18 19:59:24 -08:00
Brian Anderson
08da893cdb rustdoc: Parse module docs 2012-01-18 19:59:23 -08:00
Brian Anderson
2286d8c17e rustdoc: Write argument names as code spans 2012-01-18 17:11:58 -08:00
Brian Anderson
c06e62e0ce rustdoc: Write markdown for argument types 2012-01-18 17:10:04 -08:00
Brian Anderson
6da55efa4e rustdoc: Add argument types to the doc 2012-01-18 17:05:03 -08:00
Brian Anderson
f3fa7c1555 rustdoc: Extract functions from tystr_pass::fold_fn 2012-01-18 16:09:32 -08:00
Brian Anderson
cbd7e8ed1b rustdoc: Prune unconfigured items from AST 2012-01-18 15:48:09 -08:00
Brian Anderson
1b839a61c4 rustdoc: Write markdown for fn arguments 2012-01-18 15:02:43 -08:00
Brian Anderson
29df58d73b rustdoc: Introduce type doc::argdoc 2012-01-18 15:02:43 -08:00
Brian Anderson
38852bf0a4 rustdoc: Extract function argument names from the AST 2012-01-18 15:02:43 -08:00
Brian Anderson
92f63b90f9 rustdoc: Merge the crate's name attribute into the doc tree 2012-01-18 15:02:43 -08:00
Brian Anderson
60b475ea88 rustdoc: Parse crate name from #[link] attr 2012-01-18 15:02:43 -08:00
Brian Anderson
810af2dada rustdoc: Put fn docs inside fn bodies 2012-01-18 15:02:43 -08:00
Brian Anderson
9191911499 rustdoc: Document attr_parser::doc_meta 2012-01-18 15:02:42 -08:00
Brian Anderson
2d85e8f59a rustdoc: Improve formatting of return type 2012-01-17 23:53:24 -08:00