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
|
||||
//! [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
|
||||
//! in the various [Matrix](https://matrix.org) API specifications.
|
||||
//! 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
|
||||
//! endpoint in the [Matrix](https://matrix.org/) application service API specification. These
|
||||
//! 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
|
||||
//! endpoint in the [Matrix](https://matrix.org/) client API specification. These types 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")]
|
||||
//! Crate `ruma_client` is a [Matrix](https://matrix.org/) client library.
|
||||
//!
|
||||
//! # 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.
|
||||
|
||||
#![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
|
||||
//! [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
|
||||
//! [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.
|
||||
|
||||
#![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 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 error;
|
||||
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
|
||||
//! 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 keys;
|
||||
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.
|
||||
|
||||
#![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 quote::quote;
|
||||
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
|
||||
|
||||
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
|
||||
//! [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.
|
||||
//!
|
||||
//! 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