Use document-features.

This commit is contained in:
Stephen Chung
2022-12-22 09:33:12 +08:00
parent 481546124a
commit bbd94dbffb
2 changed files with 76 additions and 30 deletions

View File

@@ -52,7 +52,11 @@
//! }
//! ```
//!
//! # Documentation
//! # Features
//!
#![cfg_attr(feature = "document-features", doc = document_features::document_features!(feature_label = "<span id=\"feature-{feature}\">**`{feature}`**</span>"))]
//!
//! # On-Line Documentation
//!
//! See [The Rhai Book](https://rhai.rs/book) for details on the Rhai scripting engine and language.