Since I saw blogging support is planned, I thought I'd create a request for sitemap support as well (and maybe even RSS feed while we're at it?). Could try and work on it as well.
hello i made this features on my fork
https://github.com/dgpgdev/vuepress
to enabled just add a new config property in config file
dest: 'vuepress',
sitemap: {
filename: 'sitemap.txt',
domain: 'http://test.com'
},
base:'/base-doc/',
domain are exact domain name to host doc and filename. When you build your files (build, not dev), you can see your sitemap file ex:
http://test.com/base-doc/index.html
http://test.com/base-doc/config/index.html
http://test.com/base-doc/default-theme-config/index.html
http://test.com/base-doc/guide/index.html
etc...
update
Now you can generate txt or xml sitemap. Check extension file from filename property in filename.
By default if filename is empty a sitemap.txt will be created.
Love this! Hope it's added.
Sitemap support should be added regardless of blogging support. 馃檹
i implement this with generated sitedata in temp dir
@ekoeryanto You can create a plugin for this.
I am doing this, both for v0.x and v1.0.x
I extracted my snippet here for v0.x
https://github.com/ekoeryanto/vuepress-plugin-sitemap
There's also a plugin now for RSS/Atom/JSON feeds: https://github.com/webmasterish/vuepress-plugin-feed
Thanks to @ekoeryanto and @andreasvirkus.
Most helpful comment
Sitemap support should be added regardless of blogging support. 馃檹