Skip to content

Commit

Permalink
bookmark: fix doc links
Browse files Browse the repository at this point in the history
The current links result in a 404. Replace them with the actual location
of the respective pages.
  • Loading branch information
crepererum authored and yuja committed Oct 23, 2024
1 parent 4a2983b commit 9b5cdf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/bookmark/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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>,
}
Expand Down
4 changes: 2 additions & 2 deletions cli/tests/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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]...`
Expand All @@ -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/
Expand Down

0 comments on commit 9b5cdf2

Please sign in to comment.