You've already forked AstralRinth
forked from didirus/AstralRinth
fix(docs): correct favicon url (#2843)
Starlight defaults to favicon.svg, however a favicon.ico was added to the repo. Changes: - Format astro config according to Prettier - Properly set favicon
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { defineConfig } from 'astro/config';
|
import starlight from '@astrojs/starlight'
|
||||||
import starlight from '@astrojs/starlight';
|
import { defineConfig } from 'astro/config'
|
||||||
import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
|
import starlightOpenAPI, { openAPISidebarGroups } from 'starlight-openapi'
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
@@ -8,6 +8,7 @@ export default defineConfig({
|
|||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
title: 'Modrinth Documentation',
|
title: 'Modrinth Documentation',
|
||||||
|
favicon: '/favicon.ico',
|
||||||
editLink: {
|
editLink: {
|
||||||
baseUrl: 'https://github.com/modrinth/code/edit/main/apps/docs/',
|
baseUrl: 'https://github.com/modrinth/code/edit/main/apps/docs/',
|
||||||
},
|
},
|
||||||
@@ -36,7 +37,7 @@ export default defineConfig({
|
|||||||
label: 'Modrinth API',
|
label: 'Modrinth API',
|
||||||
schema: './public/openapi.yaml',
|
schema: './public/openapi.yaml',
|
||||||
},
|
},
|
||||||
])
|
]),
|
||||||
],
|
],
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
@@ -48,4 +49,4 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
});
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user