Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix: resolve broken rustdoc links in remotes module docs (#1863)
worktrunk-botd69484efcf5a
diff --git a/.config/wt.toml b/.config/wt.tomlindex 58ca7caf1..60ce9c11c 100644--- a/.config/wt.toml+++ b/.config/wt.toml@@ -14,7 +14,7 @@ sync = 'if [ "{{ target }}" = "main" ]; then git pull && git push; fi'pre-commit = "if [ -n \"$MSYSTEM\" ]; then SKIP=lychee-system pre-commit run --all-files; else pre-commit run --all-files; fi"insta = "RUSTFLAGS='-D warnings' NEXTEST_NO_INPUT_HANDLER=1 cargo insta test --test-runner nextest --dnd --check $([ \"$(uname)\" = 'Linux' ] && echo '--unreferenced reject') --features shell-integration-tests"doctest = "RUSTDOCFLAGS='-Dwarnings' cargo test --doc"-doc = "RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps"+doc = "RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps --document-private-items"[list]url = "http://127.0.0.1:{{ branch | hash_port }}"diff --git a/src/git/repository/remotes.rs b/src/git/repository/remotes.rsindex a72c0a495..1f6c1374c 100644--- a/src/git/repository/remotes.rs+++ b/src/git/repository/remotes.rs@@ -32,21 +32,17 @@//!//! For `wt switch pr:N`, the API call uses owner/repo from the primary//! remote's raw URL. The API response provides the base repo's identity,-//! and [`find_remote_for_repo`] matches it back to a local remote by+//! and `Repository::find_remote_for_repo` matches it back to a local remote by//! owner/repo (host is not required to match).//!//! ## Where each piece is used//!//! | Need | `wt switch pr:N` | `wt list` CI status |//! |------|------------------|---------------------|-//! | Platform | Implicit (`pr:` = GitHub, `mr:` = GitLab) | [`platform_for_repo`] |-//! | Owner/repo | [`fetch_pr_info`] builds API path | [`github_owner_repo`] for check-runs API |+//! | Platform | Implicit (`pr:` = GitHub, `mr:` = GitLab) | `platform_for_repo` |+//! | Owner/repo | `fetch_pr_info` builds API path | `github_owner_repo` for check-runs API |//! | API hostname | `forge.hostname` config, else omit | `forge.hostname` config, else omit |-//! | Fetch remote | [`find_remote_for_repo`] by owner/repo | Not needed |-//!-//! [`platform_for_repo`]: crate::commands::list::ci_status::platform::platform_for_repo-//! [`fetch_pr_info`]: crate::git::remote_ref::github-//! [`github_owner_repo`]: crate::commands::list::ci_status::github+//! | Fetch remote | `Repository::find_remote_for_repo` by owner/repo | Not needed |//!//! ## Config: `[forge]` section//!