mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-24 21:53:21 +00:00
docs: add logo and favicon to docs.rs page (#473)
This commit is contained in:
parent
3cf0b83bda
commit
74c5244be1
3 changed files with 5 additions and 0 deletions
BIN
assets/favicon.ico
Normal file
BIN
assets/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -182,8 +182,13 @@
|
||||||
//! [Termion crate]: https://crates.io/crates/termion
|
//! [Termion crate]: https://crates.io/crates/termion
|
||||||
//! [Termwiz crate]: https://crates.io/crates/termwiz
|
//! [Termwiz crate]: https://crates.io/crates/termwiz
|
||||||
//! [Time crate]: https://crates.io/crates/time
|
//! [Time crate]: https://crates.io/crates/time
|
||||||
|
|
||||||
// show the feature flags in the generated documentation
|
// show the feature flags in the generated documentation
|
||||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
#![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 backend;
|
||||||
pub mod buffer;
|
pub mod buffer;
|
||||||
|
|
Loading…
Reference in a new issue