Browse Source

Add favicon/logo and html_root_url for docs

pull/147/head
Ian Chamberlain 1 year ago
parent
commit
bbdcf3fb7c
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 1
      ctru-rs/src/lib.rs
  2. 7
      ctru-sys/src/lib.rs

1
ctru-rs/src/lib.rs

@ -28,6 +28,7 @@
#![doc( #![doc(
html_logo_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png" html_logo_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)] )]
#![doc(html_root_url = "https://rust3ds.github.io/ctru-rs/crates")]
// Nothing is imported from these crates but their inclusion here assures correct linking of the missing implementations. // Nothing is imported from these crates but their inclusion here assures correct linking of the missing implementations.
extern crate pthread_3ds; extern crate pthread_3ds;

7
ctru-sys/src/lib.rs

@ -5,6 +5,13 @@
#![allow(clippy::all)] #![allow(clippy::all)]
#![cfg_attr(test, feature(custom_test_frameworks))] #![cfg_attr(test, feature(custom_test_frameworks))]
#![cfg_attr(test, test_runner(test_runner::run_gdb))] #![cfg_attr(test, test_runner(test_runner::run_gdb))]
#![doc(
html_favicon_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)]
#![doc(
html_logo_url = "https://user-images.githubusercontent.com/11131775/225929072-2fa1741c-93ae-4b47-9bdf-af70f3d59910.png"
)]
#![doc(html_root_url = "https://rust3ds.github.io/ctru-rs/crates")]
pub mod result; pub mod result;
pub use result::*; pub use result::*;

Loading…
Cancel
Save