Persistent Links via Frontmatter Page IDs / Permalinks (Git Sync) #1261
maksim-yesman-covergo
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Problem: Link Rot During Documentation Refactoring
We currently use GitBook synced with a GitHub repository for our documentation. While Git Sync is fantastic for collaboration, relying strictly on file paths for routing creates significant friction: whenever we reorganize our documentation hierarchy, rename folders, or move
.mdfiles, the underlying file path changes.This causes two major issues:
Why Existing Redirects Don't Solve This for Git Sync:
While I am aware that GitBook supports URL redirects, this feature does not fit our workflow for two key reasons:
The Proposed Solution: Frontmatter Page IDs / Permalinks
It would be a massive improvement if GitBook supported a persistent identifier mechanism independent of the file path—similar to how Confluence handles Page IDs or Notion uses Block IDs.
Specifically, we would love the ability to define a static ID or permalink inside the YAML frontmatter of our Markdown files:
How it would work:
id(e.g.,[Setup Guide](id:doc-unique-identifier-123)) rather than relative file paths like../../guides/setup.md./drafts/setup.mdto/v2/getting-started/installation.mdin GitHub, GitBook would recognize the persistent frontmatter ID and resolve the route natively without us ever needing to touch a redirect configuration list.Why This Matters to Tech Teams:
All reactions