Skip to content

Commit 8c7f2e7

Browse files
greynewellclaude
andcommitted
Fix GitHub Pages domain in _redirects proxy rules (graphtechnologydevelopers.github.io)
The supermodeltools org was previously named GraphTechnologyDevelopers. GitHub Pages for forks in this org are served at graphtechnologydevelopers.github.io/{repo}/ not supermodeltools.github.io/{repo}/. Update both the _redirects proxy target and the archDocsURL fallback button link to use the correct domain. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7e11380 commit 8c7f2e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate-index.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func generateRepoPages(cfg Config) error {
117117
return fmt.Sprintf("https://img.shields.io/github/stars/%s?style=flat&logo=github&color=818cf8&labelColor=1a1d27", upstream)
118118
},
119119
"archDocsURL": func(name string) string {
120-
return fmt.Sprintf("https://supermodeltools.github.io/%s/", url.PathEscape(name))
120+
return fmt.Sprintf("https://graphtechnologydevelopers.github.io/%s/", url.PathEscape(name))
121121
},
122122
}).Parse(repoTemplate)
123123
if err != nil {
@@ -159,7 +159,7 @@ func generateRedirects(cfg Config) error {
159159
if _, err := os.Stat(fmt.Sprintf("site/%s/index.html", url.PathEscape(repo.Name))); err == nil {
160160
continue // has local arch-docs, no proxy needed
161161
}
162-
b.WriteString(fmt.Sprintf("/%s/* https://supermodeltools.github.io/%s/:splat 200\n",
162+
b.WriteString(fmt.Sprintf("/%s/* https://graphtechnologydevelopers.github.io/%s/:splat 200\n",
163163
url.PathEscape(repo.Name), url.PathEscape(repo.Name)))
164164
}
165165
}

0 commit comments

Comments
 (0)