File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ exclude = [
2121resolver = " 2"
2222edition = " 2018"
2323
24+ [package .metadata .docs .rs ]
25+ all-features = true
26+ rustdoc-args = [" --cfg" , " docsrs" ]
27+
2428[profile .release ]
2529lto = true
2630
Original file line number Diff line number Diff line change 5959//! # }
6060//! ```
6161
62+ #![ cfg_attr( docsrs, feature( doc_cfg) ) ]
6263#![ deny(
6364 missing_docs,
6465 missing_debug_implementations,
Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ pub struct ComrakExtensionOptions {
329329 pub front_matter_delimiter : Option < String > ,
330330
331331 #[ cfg( feature = "shortcodes" ) ]
332- /// Available if "shortcodes" feature is enabled. Phrases wrapped inside of ':' blocks will be
333- /// replaced with emojis.
332+ # [ cfg_attr ( docsrs , doc ( cfg ( feature = "shortcodes" ) ) ) ]
333+ /// Phrases wrapped inside of ':' blocks will be replaced with emojis.
334334 ///
335335 /// ```
336336 /// # use comrak::{markdown_to_html, ComrakOptions};
Original file line number Diff line number Diff line change 11//! Plugins for enhancing the default implementation of comrak can be defined in this module.
22
33#[ cfg( feature = "syntect" ) ]
4+ #[ cfg_attr( docsrs, doc( cfg( feature = "syntect" ) ) ) ]
45pub mod syntect;
You can’t perform that action at this time.
0 commit comments