Add favicons to docs.

This commit is contained in:
Bruce Mitchener 2018-10-16 16:46:13 +07:00 committed by Sébastien Crozet
parent 99c9607a4f
commit 47fe851173
3 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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))]