mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-12 04:05:12 +00:00
Update Astro site URL to awesome-copilot.github.com with root base path (#925)
* Initial plan * chore: update Astro site URL to awesome-copilot.github.com with root base path Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
This commit is contained in:
@@ -5,8 +5,8 @@ import pagefindResources from "./src/integrations/pagefind-resources";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://github.github.com/",
|
||||
base: "/awesome-copilot/",
|
||||
site: "https://awesome-copilot.github.com/",
|
||||
base: "/",
|
||||
output: "static",
|
||||
integrations: [
|
||||
starlight({
|
||||
|
||||
@@ -86,7 +86,7 @@ export default function pagefindResources(): AstroIntegration {
|
||||
records = [];
|
||||
}
|
||||
|
||||
// Use the base path from Astro config (e.g. "/awesome-copilot/")
|
||||
// Use the base path from Astro config (e.g. "/")
|
||||
const base = siteBase.endsWith("/") ? siteBase : `${siteBase}/`;
|
||||
|
||||
let added = 0;
|
||||
|
||||
Reference in New Issue
Block a user