bookmark: fix doc links

The current links result in a 404. Replace them with the actual location
of the respective pages.
This commit is contained in:
Marco Neumann 2024-10-23 11:10:00 +02:00 committed by Yuya Nishihara
parent 4a2983b77e
commit 9b5cdf25e6
2 changed files with 4 additions and 4 deletions

View file

@ -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<String>,
}

View file

@ -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/