Remove dioxus-lib, fix doc imports (#4438)
* remove dioxus lib * inline some doc items * fix tests * test docs * Fix doc tests * Pull out dioxus/lib feature * disable logger and devtools in library feature * fix cargo doc * fix cargo doc
This commit is contained in:
1 parent
4cb32d372b
commit
98f7667fb4
59 files changed
+216
-530
No files matched your search
@@ -62,10 +62,10 @@ impl AssetOptions {
|
||||
/// A builder for [`AssetOptions`]
|
||||
///
|
||||
/// ```rust
|
||||
/// # use manganis::AssetOptionsBuilder;
|
||||
/// # use manganis::{AssetOptions, Asset, asset};
|
||||
/// static ASSET: Asset = asset!(
|
||||
/// "image.png",
|
||||
/// AssetOptionsBuilder::new()
|
||||
/// "/assets/style.css",
|
||||
/// AssetOptions::builder()
|
||||
/// .with_hash_suffix(false)
|
||||
/// );
|
||||
/// ```
|
||||
@@ -130,8 +130,8 @@ impl<T> AssetOptionsBuilder<T> {
|
||||
/// ```rust
|
||||
/// #[used]
|
||||
/// static ASSET: manganis::Asset = manganis::asset!(
|
||||
/// "path/to/asset.png",
|
||||
/// AssetVariant::Unknown.into_asset_options()
|
||||
/// "/assets/style.css",
|
||||
/// manganis::AssetOptions::builder()
|
||||
/// .with_hash_suffix(false)
|
||||
/// );
|
||||
/// ```
|
||||
|
||||
Reference in new issue
Block a user