Browse Source

Merge pull request #147 from rust3ds/fix/docs-github-pages-followup

Add favicon/logo and html_root_url for docs
pull/150/head
Ian Chamberlain 1 year ago committed by GitHub
parent
commit
1c0c055c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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