Skip to content

Commit

Permalink
[DOCS] Add sitemap plugin and robots.txt
Browse files Browse the repository at this point in the history
Update config.js
  • Loading branch information
1technophile committed Jan 15, 2024
1 parent 23c03ec commit 9e4f712
Show file tree
Hide file tree
Showing 5 changed files with 1,188 additions and 10 deletions.
9 changes: 0 additions & 9 deletions docs/.vuepress/config.js

This file was deleted.

15 changes: 15 additions & 0 deletions docs/.vuepress/config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { sitemapPlugin } from 'vuepress-plugin-sitemap2';
import commonConfig from './public/commonConfig.mjs';

export default {
...commonConfig,
themeConfig: {
repo: 'theengs',
...commonConfig.themeConfig,
},
plugins: [
sitemapPlugin({
baseUrl: 'https://theengs.io/',
}),
],
};
3 changes: 3 additions & 0 deletions docs/.vuepress/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *

Allow: /
Loading

0 comments on commit 9e4f712

Please sign in to comment.