Skip to content

Commit 19562d3

Browse files
authored
Merge pull request #12 from basicmachines-co/claw/add-sitemap
Add sitemap.xml and robots.txt for SEO
2 parents 9ceebf7 + 3ca3660 commit 19562d3

File tree

4 files changed

+101
-1
lines changed

4 files changed

+101
-1
lines changed

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export default defineNuxtConfig({
22
extends: ['docus'],
3+
modules: ['@nuxtjs/sitemap'],
34
compatibilityDate: '2025-07-15',
45
app: {
56
head: {

package-lock.json

Lines changed: 95 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"start": "node .output/server/index.mjs"
1010
},
1111
"dependencies": {
12+
"@nuxtjs/sitemap": "^7.6.0",
1213
"beautiful-mermaid": "^0.1.3",
1314
"better-sqlite3": "^12.5.0",
1415
"docus": "latest",

public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://docs.basicmemory.com/sitemap.xml

0 commit comments

Comments
 (0)