Skip to content

Commit

Permalink
Icon for the generated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
daladim committed Jul 5, 2023
1 parent 575e63b commit 076bee4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diesel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@
//! - `with-deprecated`
//! - `32-column-tables`

#![doc(
html_logo_url = "https://diesel.rs/assets/images/logo.svg"
)]

#![cfg_attr(feature = "nightly-error-messages", feature(rustc_attrs))]
#![cfg_attr(feature = "unstable", feature(trait_alias))]
#![cfg_attr(doc_cfg, feature(doc_cfg, doc_auto_cfg))]
Expand Down
4 changes: 4 additions & 0 deletions diesel_derives/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#![doc(
html_logo_url = "https://diesel.rs/assets/images/logo.svg"
)]

// Clippy lints
#![allow(
clippy::needless_doctest_main,
Expand Down
4 changes: 4 additions & 0 deletions diesel_dynamic_schema/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
//! You can come ask for help at
//! [gitter.im/diesel-rs/diesel](https://gitter.im/diesel-rs/diesel)

#![doc(
html_logo_url = "https://diesel.rs/assets/images/logo.svg"
)]

// Built-in Lints
#![warn(missing_docs)]

Expand Down
4 changes: 4 additions & 0 deletions diesel_migrations/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#![doc(
html_logo_url = "https://diesel.rs/assets/images/logo.svg"
)]

// Built-in Lints
// Clippy lints
#![allow(clippy::needless_pass_by_value, clippy::map_unwrap_or)]
Expand Down
4 changes: 4 additions & 0 deletions diesel_table_macro_syntax/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#![doc(
html_logo_url = "https://diesel.rs/assets/images/logo.svg"
)]

use syn::spanned::Spanned;
use syn::Ident;
use syn::MetaNameValue;
Expand Down

0 comments on commit 076bee4

Please sign in to comment.