Skip to content

Commit 0391fa5

Browse files
committed
integrate astro-starlight
1 parent cb98e32 commit 0391fa5

File tree

12 files changed

+3834
-2568
lines changed

12 files changed

+3834
-2568
lines changed

frontend/.astro/types.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/// <reference types="astro/client" />
2+
/// <reference path="content.d.ts" />

frontend/astro.config.mjs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig } from "astro/config";
2+
import starlight from "@astrojs/starlight";
23

34
export default defineConfig({
45
output: "static",
@@ -20,4 +21,37 @@ export default defineConfig({
2021
},
2122
},
2223
},
24+
integrations: [
25+
starlight({
26+
title: "html2rss-web",
27+
description: "Convert websites to RSS feeds instantly",
28+
logo: {
29+
src: "./src/assets/logo.png",
30+
replacesTitle: true,
31+
},
32+
social: [
33+
{
34+
icon: "github",
35+
label: "GitHub",
36+
href: "https://github.com/html2rss",
37+
},
38+
],
39+
pagefind: false,
40+
head: [
41+
{
42+
tag: "meta",
43+
attrs: {
44+
name: "robots",
45+
content: "noindex, nofollow",
46+
},
47+
},
48+
],
49+
sidebar: [
50+
{
51+
label: "Home",
52+
link: "/",
53+
},
54+
],
55+
}),
56+
],
2357
});

0 commit comments

Comments
 (0)