mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-13 04:35: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
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: "https://github.github.com/",
|
site: "https://awesome-copilot.github.com/",
|
||||||
base: "/awesome-copilot/",
|
base: "/",
|
||||||
output: "static",
|
output: "static",
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ export default function pagefindResources(): AstroIntegration {
|
|||||||
records = [];
|
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}/`;
|
const base = siteBase.endsWith("/") ? siteBase : `${siteBase}/`;
|
||||||
|
|
||||||
let added = 0;
|
let added = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user