Skip to content

Commit

Permalink
fix(doc): the document cannot be rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Dec 6, 2024
1 parent b750126 commit 9d7e5a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions iced_layershell/src/build_pattern.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//! The build_pattern allow you to create application just with callback functions.
//! Similar with the one of origin iced.
mod application;
mod daemon;
use std::borrow::Cow;
Expand Down Expand Up @@ -64,5 +67,8 @@ impl Default for MainSettings {
}
}

#[doc = include_str!("./build_pattern/application.md")]
pub use application::application;

#[doc = include_str!("./build_pattern/daemon.md")]
pub use daemon::daemon;
1 change: 0 additions & 1 deletion iced_layershell/src/build_pattern/application.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![doc = include_str!("./application.md")]
use std::borrow::Cow;

use iced::Font;
Expand Down
1 change: 0 additions & 1 deletion iced_layershell/src/build_pattern/daemon.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![doc = include_str!("./daemon.md")]
use std::borrow::Cow;

use iced::Font;
Expand Down

0 comments on commit 9d7e5a0

Please sign in to comment.