Skip to content

Commit e8cd3fb

Browse files
amuraruclaude
andcommitted
fix: point Docsy repo links to gh-pages branch where docs source lives
The docs source (content/, layouts/, config/) only exists on the gh-pages branch; main/master has no content/ dir. Set github_repo to the bare repo URL and github_branch to gh-pages so the "edit this page" / "view page source" links resolve to the correct edit/<branch>/<path> endpoint instead of a nonexistent path on main. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8d65c4f commit e8cd3fb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎config/_default/config.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@ weight = 1
8080
url_latest_version = "https://opensource.adobe.com/koperator/"
8181

8282
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
83-
github_repo = "https://github.com/adobe/koperator/tree/gh-pages"
83+
github_repo = "https://github.com/adobe/koperator"
8484
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
8585
github_project_repo = "https://github.com/adobe/koperator"
8686

8787
# Specify a value here if your content directory is not in your repo's root directory
8888
# github_subdir = ""
8989

90-
# Uncomment this if your GitHub repo does not have "main" as the default branch,
91-
# or specify a new value if you want to reference another branch in your GitHub links
92-
github_branch= "main"
90+
# The docs source (content/, layouts/, config/) only exists on the gh-pages
91+
# branch of this repo (main/master has no content/ dir), so links must point there.
92+
github_branch = "gh-pages"
9393

9494

9595
# Enable Lunr.js offline search

0 commit comments

Comments
 (0)