diff --git a/src/commands/info.rs b/src/commands/info.rs index 7f450e0..57d52c5 100644 --- a/src/commands/info.rs +++ b/src/commands/info.rs @@ -23,10 +23,10 @@ impl Runnable for Input { let info = &self.info; match info { - Info::CheatsExample => println!("{}", include_str!("../../docs/cheat_example.cheat")), + Info::CheatsExample => println!("{}", include_str!("../../docs/examples/cheatsheet/example.cheat")), Info::CheatsPath => println!("{}", &filesystem::default_cheat_pathbuf()?.to_string()), Info::ConfigPath => println!("{}", &filesystem::default_config_pathbuf()?.to_string()), - Info::ConfigExample => println!("{}", include_str!("../../docs/config_file_example.yaml")), + Info::ConfigExample => println!("{}", include_str!("../../docs/examples/configuration/config-example.yaml")), } Ok(()) } diff --git a/src/welcome.rs b/src/welcome.rs index 520f04f..8d9e722 100644 --- a/src/welcome.rs +++ b/src/welcome.rs @@ -3,7 +3,7 @@ use crate::prelude::*; use crate::structures::fetcher; pub fn populate_cheatsheet(parser: &mut Parser) -> Result<()> { - let cheatsheet = include_str!("../docs/navi.cheat"); + let cheatsheet = include_str!("../docs/examples/cheatsheet/navi.cheat"); let lines = cheatsheet.split('\n').map(|s| Ok(s.to_string())); parser.read_lines(lines, "welcome", None)?;