From 47fe851173b0d721a08d30a4c8e6538004ecaecf Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 16 Oct 2018 16:46:13 +0700 Subject: [PATCH] Add favicons to docs. --- nalgebra-glm/src/lib.rs | 2 ++ nalgebra-lapack/src/lib.rs | 3 ++- src/lib.rs | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nalgebra-glm/src/lib.rs b/nalgebra-glm/src/lib.rs index 905fe264..dc485846 100644 --- a/nalgebra-glm/src/lib.rs +++ b/nalgebra-glm/src/lib.rs @@ -110,6 +110,8 @@ and keep in mind it is possible to convert, e.g., an `Isometry3` to a `Mat4` and vice-versa (see the [conversions section](#conversions)). */ +#![doc(html_favicon_url = "http://nalgebra.org/img/favicon.ico")] + extern crate num_traits as num; #[macro_use] extern crate approx; diff --git a/nalgebra-lapack/src/lib.rs b/nalgebra-lapack/src/lib.rs index b3766f68..a001dcc3 100644 --- a/nalgebra-lapack/src/lib.rs +++ b/nalgebra-lapack/src/lib.rs @@ -68,7 +68,8 @@ #![deny(unused_qualifications)] #![deny(unused_results)] #![deny(missing_docs)] -#![doc(html_root_url = "http://nalgebra.org/rustdoc")] +#![doc(html_favicon_url = "http://nalgebra.org/img/favicon.ico", + html_root_url = "http://nalgebra.org/rustdoc")] extern crate alga; extern crate lapack; diff --git a/src/lib.rs b/src/lib.rs index 21d7eeb9..b46e2dd6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -83,7 +83,8 @@ an optimized set of tools for computer graphics and physics. Those features incl #![deny(unused_results)] #![deny(missing_docs)] #![warn(incoherent_fundamental_impls)] -#![doc(html_root_url = "http://nalgebra.org/rustdoc")] +#![doc(html_favicon_url = "http://nalgebra.org/img/favicon.ico", + html_root_url = "http://nalgebra.org/rustdoc")] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]