Skip to content

Commit ee5f884

Browse files
committed
docs: add robots integration
1 parent ee065be commit ee5f884

3 files changed

Lines changed: 38 additions & 5 deletions

File tree

docs/astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import react from '@astrojs/react';
22
import starlight from '@astrojs/starlight';
33
import tailwind from '@astrojs/tailwind';
44
import { defineConfig } from 'astro/config';
5+
import robotsTxt from 'astro-robots-txt';
56

67
// https://astro.build/config
78
export default defineConfig({
@@ -332,6 +333,7 @@ export default defineConfig({
332333
}),
333334
react(),
334335
tailwind(),
336+
robotsTxt(),
335337
],
336338
site: 'https://pyjun01.github.io',
337339
base: '/react-google-map-wrapper',

docs/package-lock.json

Lines changed: 35 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@types/react": "^18.2.42",
1818
"@types/react-dom": "^18.2.17",
1919
"astro": "^4.0.1",
20+
"astro-robots-txt": "^1.0.0",
2021
"react": "^18.2.0",
2122
"react-dom": "^18.2.0",
2223
"react-google-map-wrapper": "^1.0.0",

0 commit comments

Comments
 (0)