Skip to content

Commit 8a46cdf

Browse files
Merge pull request RustPython#1121 from RustPython/coolreader18/docs-logo
Add #![doc(html_logo_url = ...)] to crates
2 parents 9261d94 + 0893076 commit 8a46cdf

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

bytecode/src/lib.rs

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

compiler/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! Compile a Python AST or source code into bytecode consumable by RustPython or
22
//! (eventually) CPython.
3+
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
4+
#![doc(html_root_url = "https://docs.rs/rustpython-compiler/")]
35

46
#[macro_use]
57
extern crate log;

derive/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#![recursion_limit = "128"]
2+
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
3+
#![doc(html_root_url = "https://docs.rs/rustpython-derive/")]
24

35
extern crate proc_macro;
46

parser/src/lib.rs

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

vm/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
clippy::let_and_return,
1212
clippy::implicit_hasher
1313
)]
14+
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
15+
#![doc(html_root_url = "https://docs.rs/rustpython-vm/")]
1416

1517
#[cfg(feature = "flame-it")]
1618
#[macro_use]

0 commit comments

Comments
 (0)