Skip to content

Commit 42eba08

Browse files
authored
docs: add logo to the rustdoc (#198)
1 parent 3352ce5 commit 42eba08

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<h1>Cot</h1>
2+
<h1><img src="https://raw.githubusercontent.com/cot-rs/media/6585c518/logo/logo-text.svg" alt="Cot" width="300"></h1>
33

44
[![Rust Build Status](https://github.com/cot-rs/cot/workflows/Rust%20CI/badge.svg)](https://github.com/cot-rs/cot/actions/workflows/rust.yml)
55
[![crates.io](https://img.shields.io/crates/v/cot.svg)](https://crates.io/crates/cot)

cot/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
feature(doc_cfg, doc_auto_cfg, rustdoc_missing_doc_code_examples)
4747
)]
4848
#![cfg_attr(docsrs, warn(rustdoc::missing_doc_code_examples))]
49+
#![doc(
50+
html_logo_url = "https://raw.githubusercontent.com/cot-rs/media/6585c518/logo/logo.svg",
51+
html_favicon_url = "https://raw.githubusercontent.com/cot-rs/media/6585c518/logo/favicon.svg"
52+
)]
4953

5054
extern crate self as cot;
5155

0 commit comments

Comments
 (0)