📝 Evita en los ejemplos use pagetop::prelude::*;
This commit is contained in:
parent
8eafa436cd
commit
f25f62dd3c
21 changed files with 44 additions and 88 deletions
|
|
@ -16,8 +16,7 @@ pub type ExtensionRef = &'static dyn Extension;
|
|||
/// extensión y sobreescribir los métodos que sea necesario.
|
||||
///
|
||||
/// ```rust
|
||||
/// use pagetop::prelude::*;
|
||||
///
|
||||
/// # use pagetop::prelude::*;
|
||||
/// pub struct Blog;
|
||||
///
|
||||
/// impl Extension for Blog {
|
||||
|
|
@ -45,8 +44,7 @@ pub trait Extension: AnyInfo + Send + Sync {
|
|||
/// la extensión no es un tema, este método devuelve `None` por defecto.
|
||||
///
|
||||
/// ```rust
|
||||
/// use pagetop::prelude::*;
|
||||
///
|
||||
/// # use pagetop::prelude::*;
|
||||
/// pub struct MyTheme;
|
||||
///
|
||||
/// impl Extension for MyTheme {
|
||||
|
|
@ -88,8 +86,7 @@ pub trait Extension: AnyInfo + Send + Sync {
|
|||
/// estáticos, etc., usando [`ServiceConfig`](crate::service::web::ServiceConfig).
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// use pagetop::prelude::*;
|
||||
///
|
||||
/// # use pagetop::prelude::*;
|
||||
/// pub struct ExtensionSample;
|
||||
///
|
||||
/// impl Extension for ExtensionSample {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue