diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-01 11:44:14 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-01 11:44:14 +0800 |
| commit | e7a6200bb6ee8403b4cdfd53d7c5ad7fc5200d00 (patch) | |
| tree | 989b357aecc1d26aed2a619a895ee8aa55a2ad2b /src/bin | |
| parent | e5a8c2e11e1a33cfbd574dd15aaf4d44c255357d (diff) | |
Update docs command to use config directory instead of doc directory
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/jv.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/jv.rs b/src/bin/jv.rs index a7f0509..d9baeb8 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -31,7 +31,7 @@ use just_enough_vcs::{ CLIENT_FILE_TODOLIST, CLIENT_FILE_WORKSPACE, CLIENT_FOLDER_WORKSPACE_ROOT_NAME, CLIENT_PATH_WORKSPACE_ROOT, PORT, REF_SHEET_NAME, }, - current::{correct_current_dir, current_local_path}, + current::{correct_current_dir, current_cfg_dir, current_local_path}, data::{ local::{ LocalWorkspace, align::AlignTasks, cached_sheet::CachedSheet, config::LocalConfig, @@ -3318,7 +3318,7 @@ async fn jv_docs(args: DocsArgs) { if args.direct { println!("{}", document.trim()); } else { - let Some(doc_dir) = current_doc_dir() else { + let Some(doc_dir) = current_cfg_dir() else { eprintln!( "{}", md(t!("jv.fail.docs.no_doc_dir", docs_name = docs_name)) |
