Skip to content

Commit

Permalink
Add robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
FluxCapacitor2 committed Jan 7, 2024
1 parent 85ad458 commit 95f2c4d
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 5 deletions.
15 changes: 12 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

import robotsTxt from "astro-robots-txt";

// https://astro.build/config
export default defineConfig({
site: "https://developer.bluedragonmc.com/",
Expand All @@ -21,17 +23,24 @@ export default defineConfig({
sidebar: [
{
label: "Introduction",
autogenerate: { directory: "intro" },
autogenerate: {
directory: "intro",
},
},
{
label: "Guides",
autogenerate: { directory: "guides" },
autogenerate: {
directory: "guides",
},
},
{
label: "Reference",
autogenerate: { directory: "reference" },
autogenerate: {
directory: "reference",
},
},
],
}),
robotsTxt(),
],
});
35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"@astrojs/check": "^0.3.4",
"@astrojs/starlight": "^0.15.2",
"astro": "^4.0.1",
"astro-robots-txt": "^1.0.0",
"sharp": "^0.32.5",
"typescript": "^5.3.3"
}
}
}
1 change: 0 additions & 1 deletion src/content/docs/intro/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ _The BLUEDRAGON_DEFAULT_GAME environment variable tells the server to send playe

- Learn more about [the `worlds` folder](/reference/worlds-folder).
- Explore the code of [the example game](/intro/example-game/) and [create your own](/guides/creating-a-game/) from scratch.
-

0 comments on commit 95f2c4d

Please sign in to comment.