Revisa el estado de los tests del entorno

This commit is contained in:
Manuel Cillero 2025-01-04 08:31:31 +01:00
parent 7b0f9a91f2
commit 24bf63b039
13 changed files with 46 additions and 13 deletions

View file

@ -11,7 +11,7 @@
//!
//! Uso:
//!
//! ```rust
//! ```rust#ignore
//! use pagetop_hljs::config;
//!
//! assert_eq!(config::SETTINGS.hljs.theme, "zenburn");

View file

@ -11,7 +11,7 @@ use std::fmt;
/// Languages are represented by *PascalCase* enums within the code and are mapped to corresponding
/// [highlight.js](https://highlightjs.org/) language names.
///
/// ```rust
/// ```rust#ignore
/// use pagetop_hljs::HljsLang;
///
/// assert_eq!(HljsLang::CoffeeScript.to_string(), "coffeescript".to_string());

View file

@ -15,14 +15,14 @@
//!
//! Añade `pagetop-hljs` a tu archivo `Cargo.toml`:
//!
//! ```rust
//! ```rust#ignore
//! [dependencies]
//! pagetop-hljs = "<Version>"
//! ```
//!
//! Incluye `pagetop_hljs::HighlightJS` en las dependencias del paquete o aplicación que lo requiera:
//!
//! ```rust
//! ```rust#ignore
//! use pagetop::prelude::*;
//!
//! impl PackageTrait for MyPackage {
@ -44,12 +44,12 @@
//!
//! Y finalmente añade tus fragmentos de código con resaltado de sintaxis en páginas web:
//!
//! ```rust
//! ```rust#ignore
//! use pagetop_hljs::prelude::*;
//!
//! async fn hljs_sample(request: HttpRequest) -> ResultPage<Markup, ErrorPage> {
//! Page::new(request)
//! .with_component(Snippet::with(
//! .with_component(HljsSnippet::with(
//! HljsLang::Rust,
//! r###"
//! // This is the main function.

View file

@ -13,7 +13,7 @@ use std::fmt;
/// Themes are defined as *PascalCase* enums in the code and correspond to *kebab-case* string
/// identifiers.
///
/// ```rust
/// ```rust#ignore
/// use pagetop_hljs::HljsTheme;
///
/// assert_eq!(HljsTheme::AtelierPlateauLight.to_string(), "atelier-plateau-light".to_string());

View file

@ -10,7 +10,7 @@
//! The following example shows how the user migration file should be and using
//! the schema helpers to create the Db fields.
//!
//! ```rust
//! ```rust#ignore
//! use sea_orm_migration::{prelude::*, schema::*};
//!
//! #[derive(DeriveMigrationName)]