Skip to content

Commit

Permalink
docs: add logo and favicon to docs.rs page
Browse files Browse the repository at this point in the history
  • Loading branch information
joshka committed Sep 8, 2023
1 parent 0c68ebe commit 7f5935c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Binary file added assets/favicon.ico
Binary file not shown.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,13 @@
//! [Termion crate]: https://crates.io/crates/termion
//! [Termwiz crate]: https://crates.io/crates/termwiz
//! [Time crate]: https://crates.io/crates/time
// show the feature flags in the generated documentation
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/ratatui-org/ratatui/main/assets/logo.png",
html_favicon_url = "https://raw.githubusercontent.com/ratatui-org/ratatui/main/assets/favicon.ico"
)]

pub mod backend;
pub mod buffer;
Expand Down

0 comments on commit 7f5935c

Please sign in to comment.