From 9b5cdf25e60521a7d5673cb44911f63b53f073bc Mon Sep 17 00:00:00 2001 From: Marco Neumann Date: Wed, 23 Oct 2024 11:10:00 +0200 Subject: [PATCH] bookmark: fix doc links The current links result in a 404. Replace them with the actual location of the respective pages. --- cli/src/commands/bookmark/list.rs | 4 ++-- cli/tests/cli-reference@.md.snap | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/src/commands/bookmark/list.rs b/cli/src/commands/bookmark/list.rs index b8802ae78..e44565758 100644 --- a/cli/src/commands/bookmark/list.rs +++ b/cli/src/commands/bookmark/list.rs @@ -35,7 +35,7 @@ use crate::ui::Ui; /// "+". /// /// For information about bookmarks, see -/// https://martinvonz.github.io/jj/docs/bookmarks.md. +/// https://martinvonz.github.io/jj/latest/bookmarks/. #[derive(clap::Args, Clone, Debug)] pub struct BookmarkListArgs { /// Show all tracking and non-tracking remote bookmarks including the ones @@ -71,7 +71,7 @@ pub struct BookmarkListArgs { /// /// All 0-argument methods of the `RefName` type are available as keywords. /// - /// For the syntax, see https://martinvonz.github.io/jj/latest/docs/templates.md + /// For the syntax, see https://martinvonz.github.io/jj/latest/templates/ #[arg(long, short = 'T')] template: Option, } diff --git a/cli/tests/cli-reference@.md.snap b/cli/tests/cli-reference@.md.snap index 87e2f2c90..6f3a69935 100644 --- a/cli/tests/cli-reference@.md.snap +++ b/cli/tests/cli-reference@.md.snap @@ -305,7 +305,7 @@ List bookmarks and their targets By default, a tracking remote bookmark will be included only if its target is different from the local target. A non-tracking remote bookmark won't be listed. For a conflicted bookmark (both local and remote), old target revisions are preceded by a "-" and new target revisions are preceded by a "+". -For information about bookmarks, see https://martinvonz.github.io/jj/docs/bookmarks.md. +For information about bookmarks, see https://martinvonz.github.io/jj/latest/bookmarks/. **Usage:** `jj bookmark list [OPTIONS] [NAMES]...` @@ -327,7 +327,7 @@ For information about bookmarks, see https://martinvonz.github.io/jj/docs/bookma All 0-argument methods of the `RefName` type are available as keywords. - For the syntax, see https://martinvonz.github.io/jj/latest/docs/templates.md + For the syntax, see https://martinvonz.github.io/jj/latest/templates/