mirror of https://codeberg.org/topola/topola.git
docs: logo works, but with request to codeberg.org
This commit is contained in:
parent
4a3c38abf3
commit
b329022779
2
build.rs
2
build.rs
|
|
@ -4,8 +4,6 @@ use clap_mangen::Man;
|
|||
use std::fs::{create_dir_all, File};
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
std::fs::copy("assets/favicon.ico", "target/doc/logo.ico").expect("Failed to copy crate favicon when building documentation.");
|
||||
std::fs::copy("assets/logo.svg", "target/doc/logo.svg").expect("Failed to copy crate logo when building documentation.");
|
||||
let cmd = Cli::command();
|
||||
let man = Man::new(cmd);
|
||||
let folder = "man";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#![doc(html_favicon_url = "logo.ico")]
|
||||
#![doc(html_logo_url = "logo.png")]
|
||||
#![doc(html_favicon_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/favicon.ico")]
|
||||
#![doc(html_logo_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/logo.svg")]
|
||||
#![cfg_attr(not(feature = "disable_contracts"), feature(try_blocks))]
|
||||
|
||||
pub mod graph;
|
||||
|
|
|
|||
Loading…
Reference in New Issue