rust/src/librustdoc
Dylan DPC ca8a1b05c6
Rollup merge of #79464 - GuillaumeGomez:doc-keyword-ident, r=jyn514
Extend doc keyword feature by allowing any ident

Part of #51315.

As suggested by ``@danielhenrymantilla`` in [this comment](https://github.com/rust-lang/rust/issues/51315#issuecomment-733879934), this PR extends `#[doc(keyword = "...")]` to allow any ident to be used as keyword. The final goal is to allow (proc-)macro crates' owners to write documentation of the keywords they might introduce.

r? ``@jyn514``
2020-11-29 03:14:21 +01:00
..
clean Rollup merge of #79464 - GuillaumeGomez:doc-keyword-ident, r=jyn514 2020-11-29 03:14:21 +01:00
doctest Update doctest tests 2020-11-17 10:33:14 +01:00
formats Use from_def_id_and_parts for primitives and keywords 2020-11-26 14:23:41 -05:00
html Rollup merge of #79340 - GuillaumeGomez:rename-stability, r=jyn514 2020-11-29 03:14:13 +01:00
json Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
passes Rollup merge of #79321 - camelid:intra-doc-bang, r=Manishearth 2020-11-24 13:17:39 +01:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Simplfy color availability check 2020-11-17 10:33:14 +01:00
config.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
core.rs Track ParamEnvs properly 2020-11-24 14:10:18 -05:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Fix persisted doctests on Windows / when using workspaces 2020-11-25 15:40:13 +01:00
doctree.rs Get rid of doctree::ExternCrate 2020-11-24 09:54:53 -05:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs Make fold_item_recur non-nullable 2020-11-22 12:59:01 -05:00
lib.rs fixes a word typo in librustdoc 2020-11-25 19:09:11 +00:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
visit_ast.rs Remove ForeignMod struct. 2020-11-26 21:32:27 +01:00
visit_lib.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00

For more information about how librustdoc works, see the rustc dev guide.