Browse Source

Add favicons/icons to rustdoc

pull/39/head
Ian Chamberlain 12 months ago
parent
commit
ce54649014
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 7
      citro3d-sys/src/lib.rs
  2. 7
      citro3d/src/lib.rs

7
citro3d-sys/src/lib.rs

@ -4,6 +4,13 @@ @@ -4,6 +4,13 @@
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(clippy::all)]
#![doc(html_root_url = "https://rust3ds.github.io/citro3d-rs/crates")]
#![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"
)]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

7
citro3d/src/lib.rs

@ -2,6 +2,13 @@ @@ -2,6 +2,13 @@
#![test_runner(test_runner::run_gdb)]
#![feature(doc_cfg)]
#![feature(doc_auto_cfg)]
#![doc(html_root_url = "https://rust3ds.github.io/citro3d-rs/crates")]
#![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"
)]
//! Safe Rust bindings to `citro3d`. This crate wraps `citro3d-sys` to provide
//! safer APIs for graphics programs targeting the 3DS.

Loading…
Cancel
Save