Add favicon and logo URLs for rustdoc
This commit is contained in:
parent
db18d938e0
commit
1bf4157a89
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate ruma-api-macros provides a procedural macro for easily generating
|
//! Crate ruma-api-macros provides a procedural macro for easily generating
|
||||||
//! [ruma-api]-compatible endpoints.
|
//! [ruma-api]-compatible endpoints.
|
||||||
//!
|
//!
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate `ruma_api` contains core types used to define the requests and responses for each endpoint
|
//! Crate `ruma_api` contains core types used to define the requests and responses for each endpoint
|
||||||
//! in the various [Matrix](https://matrix.org) API specifications.
|
//! in the various [Matrix](https://matrix.org) API specifications.
|
||||||
//! These types can be shared by client and server code for all Matrix APIs.
|
//! These types can be shared by client and server code for all Matrix APIs.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate ruma_appservice_api contains serializable types for the requests and responses for each
|
//! Crate ruma_appservice_api contains serializable types for the requests and responses for each
|
||||||
//! endpoint in the [Matrix](https://matrix.org/) application service API specification. These
|
//! endpoint in the [Matrix](https://matrix.org/) application service API specification. These
|
||||||
//! types can be shared by application service and server code.
|
//! types can be shared by application service and server code.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate ruma_client_api contains serializable types for the requests and responses for each
|
//! Crate ruma_client_api contains serializable types for the requests and responses for each
|
||||||
//! endpoint in the [Matrix](https://matrix.org/) client API specification. These types can be
|
//! endpoint in the [Matrix](https://matrix.org/) client API specification. These types can be
|
||||||
//! shared by client and server code.
|
//! shared by client and server code.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate `ruma_client` is a [Matrix](https://matrix.org/) client library.
|
//! Crate `ruma_client` is a [Matrix](https://matrix.org/) client library.
|
||||||
//!
|
//!
|
||||||
//! # Usage
|
//! # Usage
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Common types for other ruma crates.
|
//! Common types for other ruma crates.
|
||||||
|
|
||||||
#![warn(missing_docs, missing_debug_implementations)]
|
#![warn(missing_docs, missing_debug_implementations)]
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate `ruma_events_macros` provides a procedural macro for generating
|
//! Crate `ruma_events_macros` provides a procedural macro for generating
|
||||||
//! [ruma-events] events.
|
//! [ruma-events] events.
|
||||||
//!
|
//!
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate `ruma_events` contains serializable types for the events in the
|
//! Crate `ruma_events` contains serializable types for the events in the
|
||||||
//! [Matrix](https://matrix.org) specification that can be shared by client and server code.
|
//! [Matrix](https://matrix.org) specification that can be shared by client and server code.
|
||||||
//!
|
//!
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! (De)serializable types for the Matrix Federation API.
|
//! (De)serializable types for the Matrix Federation API.
|
||||||
|
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
|
|
||||||
use proc_macro::TokenStream;
|
use proc_macro::TokenStream;
|
||||||
|
|
||||||
use quote::quote;
|
use quote::quote;
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
|
|
||||||
pub mod device_key_id;
|
pub mod device_key_id;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
pub mod event_id;
|
pub mod event_id;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate **ruma_identifiers** contains types for [Matrix](https://matrix.org/) identifiers
|
//! Crate **ruma_identifiers** contains types for [Matrix](https://matrix.org/) identifiers
|
||||||
//! for events, rooms, room aliases, room versions, and users.
|
//! for events, rooms, room aliases, room versions, and users.
|
||||||
|
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
|
|
||||||
pub mod authentication;
|
pub mod authentication;
|
||||||
pub mod keys;
|
pub mod keys;
|
||||||
pub mod status;
|
pub mod status;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! (De)serializable types for the Matrix Push Gateway API.
|
//! (De)serializable types for the Matrix Push Gateway API.
|
||||||
|
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
|
|
||||||
use proc_macro::TokenStream;
|
use proc_macro::TokenStream;
|
||||||
use quote::quote;
|
use quote::quote;
|
||||||
use syn::{parse_macro_input, DeriveInput, ItemEnum};
|
use syn::{parse_macro_input, DeriveInput, ItemEnum};
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! De-/serialization helpers for other ruma crates
|
//! De-/serialization helpers for other ruma crates
|
||||||
|
|
||||||
pub mod can_be_empty;
|
pub mod can_be_empty;
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Crate `ruma_signatures` implements digital signatures according to the
|
//! Crate `ruma_signatures` implements digital signatures according to the
|
||||||
//! [Matrix](https://matrix.org/) specification.
|
//! [Matrix](https://matrix.org/) specification.
|
||||||
//!
|
//!
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
|
#![doc(html_logo_url = "https://www.ruma.io/images/logo.png")]
|
||||||
//! Types and traits for working with the Matrix protocol.
|
//! Types and traits for working with the Matrix protocol.
|
||||||
//!
|
//!
|
||||||
//! This crate re-exports things from all of the other ruma crates so you don't
|
//! This crate re-exports things from all of the other ruma crates so you don't
|
||||||
|
Loading…
x
Reference in New Issue
Block a user