Skip to content

docs: restructure installation section + fix broken anchors#118

Merged
yabirgb merged 3 commits intorotki:mainfrom
kelsos:feature/install-restructure-and-anchor-fixes
Apr 10, 2026
Merged

docs: restructure installation section + fix broken anchors#118
yabirgb merged 3 commits intorotki:mainfrom
kelsos:feature/install-restructure-and-anchor-fixes

Conversation

@kelsos
Copy link
Copy Markdown
Member

@kelsos kelsos commented Apr 10, 2026

Follow-up to the usage-guides restructure (#117) tackling two items from the post-merge review.

Installation section restructure

The old requirement-and-installation/ layout buried the simple install path under Docker self-hosting and binary verification content. A new user landing on packaged-binaries.md had to scroll past SHA512 checksums, GitHub attestations, and ~350 lines of Docker Compose + Traefik setup before finding "download the AppImage and run it".

This PR splits that single page into focused pages and makes the landing page actually useful:

  • download.md — Linux/macOS/Windows quick install (the simple path)
  • docker.md — Docker image, Compose templates, Traefik+basic-auth, Watchtower, migrating from desktop (~350 lines extracted)
  • verify.md — SHA512 checksums, GitHub Artifact Attestations, publisher signature checks
  • build-from-source.md — collapsed three near-identical "Backend setup for Linux/macOS/Windows" sections into a single section with OS-specific tabs; dropped dated Windows 7-era VS140COMNTOOLS / anyapi-ms-win-crt troubleshooting
  • index.md — rewritten as a 4-card decision page (Download / Docker / Verify / Build from Source) plus a minimum system requirements table

The sidebar group "System Requirements & Installation" is renamed to "Installation" and now lists all five pages.

An anchor-aware redirect for the old /packaged-binaries path preserves links into the Docker/Verify sections so external references (blog posts, GitHub issues) keep working.

Broken anchor fixes

Cross-check against the restructured pages surfaced a few dead anchors:

  • history/pnl.md#adding-manual-trades#add-edit-events
  • history/pnl.mdsettings/general#manage-historical-price-oracle-cachesettings/blockchain#oracle-cache
  • history/pnl.md, tax-accounting/guide.md, tax-accounting/accounting-rules.md — multiple settings/accounting#accounting-settings references (the anchor doesn't exist — the page-level H1 isn't an anchor) dropped to plain page links
  • tax-accounting/guide.md — fixed double-dash #add--edit-events slug (VitePress emits single-dash)

Test plan

  • `pnpm build` passes with 0 dead links
  • `pnpm lint` clean
  • Redirect HTML file generated at old `/packaged-binaries` path with both `` and anchor-aware JS routing
  • All anchor targets verified against built `.html` files
  • Manual verification of sidebar layout on deploy preview

kelsos added 3 commits April 10, 2026 14:39
Several links pointed at anchors that don't exist on the target pages
after the usage-guides restructure:

- history/pnl.md: #adding-manual-trades → #add-edit-events
- history/pnl.md: settings/general#manage-historical-price-oracle-cache
  → settings/blockchain#oracle-cache
- Multiple settings/accounting#accounting-settings (no such anchor on
  the page) dropped to the plain page link
- tax-accounting/guide.md: fix double-dash #add--edit-events slug
Split the old packaged-binaries.md page into three focused pages so
the simple download path isn't buried under Docker self-hosting and
binary verification content:

- download.md — Linux/macOS/Windows install (quick start for users)
- docker.md — Docker image, Compose, Traefik+auth, Watchtower,
  migration from desktop (~350 lines extracted)
- verify.md — SHA512 checksums and GitHub artifact attestations

Rewrite the install index.md as a 4-card decision page (Download /
Docker / Verify / Build from source) plus a minimum system
requirements table.

Collapse the three near-identical "Backend setup for Linux/macOS/
Windows" sections in build-from-source.md into a single section with
OS-specific tabs. Drop the stale VS140COMNTOOLS / anyapi-ms-win-crt
troubleshooting for dated Windows issues.

Rename the sidebar group "System Requirements & Installation" →
"Installation" and add entries for all four pages.

Add an anchor-aware redirect for the old /packaged-binaries path so
external links into Docker/Verify sections still resolve correctly.

Update two internal docs cross-references that linked to the old path.
False positive — 'Big Sur' is the macOS 11 codename, not a typo for
'Sure'. Used in requirement-and-installation/index.md in the minimum
system requirements table.
Copy link
Copy Markdown
Member

@yabirgb yabirgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks kelsos

@yabirgb yabirgb merged commit 6f0ad12 into rotki:main Apr 10, 2026
5 checks passed
@kelsos kelsos deleted the feature/install-restructure-and-anchor-fixes branch April 10, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants