Skip to content

Commit 31b7add

Browse files
committed
docs:[rust API] update logo, favicon, and some links
1 parent d73c4f6 commit 31b7add

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cpp-linter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This crate contains the the library used as a backend for the
1414

1515
Since the [cpp-linter python package][pypi-org] now uses this library
1616
as a binding, the native binary's `main()` behavior is also present in this
17-
library (see `run::run_main()`).
17+
library (see [`run::run_main()`](fn@crate::run::run_main)).
1818

1919
See also the [CLI document hosted on github][gh-pages].
2020

cpp-linter/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![doc(
2-
html_logo_url = "https://github.com/cpp-linter/cpp-linter-rs/raw/main/docs/theme/favicon.png"
2+
html_logo_url = "https://raw.githubusercontent.com/cpp-linter/cpp-linter-rs/main/docs/docs/images/logo.png"
33
)]
44
#![doc(
5-
html_favicon_url = "https://github.com/cpp-linter/cpp-linter-rs/raw/main/docs/theme/favicon.png"
5+
html_favicon_url = "https://github.com/cpp-linter/cpp-linter-rs/raw/main/docs/docs/images/favicon.ico"
66
)]
77
#![doc = include_str!("../README.md")]
88

cpp-linter/src/logger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl log::Log for SimpleLogger {
4646
/// A function to initialize the private `LOGGER`.
4747
///
4848
/// The logging level defaults to [`LevelFilter::Info`].
49-
/// Returns a [`SetLoggerError`] if the `LOGGER` is already initialized.
49+
/// Returns a [`SetLoggerError`](struct@log::SetLoggerError) if the `LOGGER` is already initialized.
5050
pub fn init() -> Result<()> {
5151
let logger: SimpleLogger = SimpleLogger;
5252
if matches!(

0 commit comments

Comments
 (0)