Skip to content

Commit 000bd7e

Browse files
committed
phase1
1 parent cd990ef commit 000bd7e

36 files changed

Lines changed: 7076 additions & 0 deletions

astro-migration/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

astro-migration/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Starlight Starter Kit: Basics
2+
3+
[![Built with Starlight](https://astro.badg.es/v2/built-with-starlight/tiny.svg)](https://starlight.astro.build)
4+
5+
```
6+
npm create astro@latest -- --template starlight
7+
```
8+
9+
> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
10+
11+
## 🚀 Project Structure
12+
13+
Inside of your Astro + Starlight project, you'll see the following folders and files:
14+
15+
```
16+
.
17+
├── public/
18+
├── src/
19+
│ ├── assets/
20+
│ ├── content/
21+
│ │ └── docs/
22+
│ └── content.config.ts
23+
├── astro.config.mjs
24+
├── package.json
25+
└── tsconfig.json
26+
```
27+
28+
Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory. Each file is exposed as a route based on its file name.
29+
30+
Images can be added to `src/assets/` and embedded in Markdown with a relative link.
31+
32+
Static assets, like favicons, can be placed in the `public/` directory.
33+
34+
## 🧞 Commands
35+
36+
All commands are run from the root of the project, from a terminal:
37+
38+
| Command | Action |
39+
| :------------------------ | :----------------------------------------------- |
40+
| `npm install` | Installs dependencies |
41+
| `npm run dev` | Starts local dev server at `localhost:4321` |
42+
| `npm run build` | Build your production site to `./dist/` |
43+
| `npm run preview` | Preview your build locally, before deploying |
44+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
45+
| `npm run astro -- --help` | Get help using the Astro CLI |
46+
47+
## 👀 Want to learn more?
48+
49+
Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build), or jump into the [Astro Discord server](https://astro.build/chat).

astro-migration/astro.config.mjs

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import starlight from '@astrojs/starlight';
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
site: 'https://html2rss.github.io',
8+
base: '/',
9+
integrations: [
10+
starlight({
11+
title: 'html2rss',
12+
description: 'html2rss brings back RSS. It\'s an open source project with decentralised instances. These instances generate RSS feeds for websites which do not offer them.',
13+
logo: {
14+
src: './src/assets/logo.png',
15+
replacesTitle: true,
16+
},
17+
head: [
18+
{
19+
tag: 'meta',
20+
attrs: {
21+
name: 'mobile-web-app-capable',
22+
content: 'yes',
23+
},
24+
},
25+
{
26+
tag: 'meta',
27+
attrs: {
28+
name: 'apple-mobile-web-app-capable',
29+
content: 'yes',
30+
},
31+
},
32+
{
33+
tag: 'meta',
34+
attrs: {
35+
name: 'apple-mobile-web-app-status-bar-style',
36+
content: 'black',
37+
},
38+
},
39+
{
40+
tag: 'meta',
41+
attrs: {
42+
name: 'referrer',
43+
content: 'no-referrer',
44+
},
45+
},
46+
{
47+
tag: 'meta',
48+
attrs: {
49+
name: 'theme-color',
50+
content: '#111111',
51+
},
52+
},
53+
{
54+
tag: 'link',
55+
attrs: {
56+
rel: 'apple-touch-icon',
57+
sizes: '180x180',
58+
href: '/assets/images/apple-touch-icon.png',
59+
},
60+
},
61+
{
62+
tag: 'link',
63+
attrs: {
64+
rel: 'icon',
65+
type: 'image/png',
66+
sizes: '32x32',
67+
href: '/assets/images/favicon-32x32.png',
68+
},
69+
},
70+
{
71+
tag: 'link',
72+
attrs: {
73+
rel: 'icon',
74+
type: 'image/png',
75+
sizes: '16x16',
76+
href: '/assets/images/favicon-16x16.png',
77+
},
78+
},
79+
{
80+
tag: 'link',
81+
attrs: {
82+
rel: 'manifest',
83+
href: '/assets/images/site.webmanifest',
84+
},
85+
},
86+
{
87+
tag: 'link',
88+
attrs: {
89+
rel: 'mask-icon',
90+
href: '/assets/images/safari-pinned-tab.svg',
91+
color: '#111111',
92+
},
93+
},
94+
{
95+
tag: 'link',
96+
attrs: {
97+
rel: 'shortcut icon',
98+
href: '/assets/images/favicon.ico',
99+
},
100+
},
101+
{
102+
tag: 'script',
103+
attrs: {
104+
'data-goatcounter': 'https://html2rss.goatcounter.com/count',
105+
async: true,
106+
src: '//gc.zgo.at/count.js',
107+
},
108+
},
109+
],
110+
social: [
111+
{
112+
icon: 'github',
113+
label: 'GitHub',
114+
href: 'https://github.com/html2rss'
115+
},
116+
],
117+
editLink: {
118+
baseUrl: 'https://github.com/html2rss/html2rss.github.io/edit/main/',
119+
},
120+
sidebar: [
121+
{
122+
label: 'Home',
123+
link: '/',
124+
},
125+
{
126+
label: 'Feed Directory',
127+
link: '/feed-directory/',
128+
},
129+
{
130+
label: 'Web Application',
131+
autogenerate: { directory: 'web-application' },
132+
},
133+
{
134+
label: 'Ruby Gem',
135+
autogenerate: { directory: 'ruby-gem' },
136+
},
137+
{
138+
label: 'Get Involved',
139+
autogenerate: { directory: 'get-involved' },
140+
},
141+
{
142+
label: 'Support',
143+
autogenerate: { directory: 'support' },
144+
},
145+
],
146+
defaultLocale: 'root',
147+
locales: {
148+
root: {
149+
label: 'English',
150+
lang: 'en',
151+
},
152+
},
153+
}),
154+
],
155+
});

0 commit comments

Comments
 (0)