Merge pull request #1121 from RustPython/coolreader18/docs-logo

Add #![doc(html_logo_url = ...)] to crates
This commit is contained in:
Windel Bouwman
2019-07-10 14:52:14 +02:00
committed by GitHub
5 changed files with 12 additions and 0 deletions

View File

@@ -1 +1,4 @@
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
#![doc(html_root_url = "https://docs.rs/rustpython-bytecode/")]
pub mod bytecode;

View File

@@ -1,5 +1,7 @@
//! Compile a Python AST or source code into bytecode consumable by RustPython or
//! (eventually) CPython.
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
#![doc(html_root_url = "https://docs.rs/rustpython-compiler/")]
#[macro_use]
extern crate log;

View File

@@ -1,4 +1,6 @@
#![recursion_limit = "128"]
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
#![doc(html_root_url = "https://docs.rs/rustpython-derive/")]
extern crate proc_macro;

View File

@@ -1,3 +1,6 @@
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
#![doc(html_root_url = "https://docs.rs/rustpython-parser/")]
#[macro_use]
extern crate log;
use lalrpop_util::lalrpop_mod;

View File

@@ -11,6 +11,8 @@
clippy::let_and_return,
clippy::implicit_hasher
)]
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
#![doc(html_root_url = "https://docs.rs/rustpython-vm/")]
#[cfg(feature = "flame-it")]
#[macro_use]