📝 Añade no_run a doctests ilustrativos

This commit is contained in:
Manuel Cillero 2026-06-13 00:31:36 +02:00
parent 41c4379bc3
commit 511149caa7
26 changed files with 57 additions and 57 deletions

View file

@ -24,7 +24,7 @@ use crate::web::http::StatusCode;
/// El único método **obligatorio** de `Extension` para un tema es [`theme()`](Extension::theme),
/// que debe devolver una referencia al propio tema:
///
/// ```rust
/// ```rust,no_run
/// # use pagetop::prelude::*;
/// pub struct MyTheme;
///

View file

@ -114,7 +114,7 @@ impl ChildrenInRegions {
///
/// # Ejemplo
///
/// ```rust
/// ```rust,no_run
/// # use pagetop::prelude::*;
/// // Banner global en la región de contenido.
/// InRegion::Content.add(Html::with(|_| html! { "🎉 ¡Bienvenido!" }));
@ -157,7 +157,7 @@ impl InRegion {
///
/// # Ejemplo
///
/// ```rust
/// ```rust,no_run
/// # use pagetop::prelude::*;
/// // Banner global en la región por defecto.
/// InRegion::Content.add(Html::with(|_| {