Comments (9)
Sitemap support should be added regardless of blogging support. 🙏
from vuepress.
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.
from vuepress.
I extracted my snippet here for v0.x
https://github.com/ekoeryanto/vuepress-plugin-sitemap
from vuepress.
There's also a plugin now for RSS/Atom/JSON feeds: https://github.com/webmasterish/vuepress-plugin-feed
from vuepress.
Love this! Hope it's added.
from vuepress.
i implement this with generated sitedata in temp dir
from vuepress.
@ekoeryanto You can create a plugin for this.
from vuepress.
I am doing this, both for v0.x and v1.0.x
from vuepress.
Thanks to @ekoeryanto and @andreasvirkus.
from vuepress.
Related Issues (20)
- copy code 无法在微信H5中使用
- 迁移@vuepress/client到vuepress/client导致三方插件未适配新版本的全部无法使用
- Emoji link has been changed.
- The auto-sidebar config can not generate multi first-level headings but only one.
- VuePress compilation error HOT 4
- The home page repeat render twice HOT 2
- How can I get md data in my vue components?
- module.experts support footer includes
- The documentation should start with a tutorial that covers most use cases
- 我需要自定义 webSocketURL HOT 2
- [mobile bug] Search bar causes content bleed
- [bug] Incorrect next and previous anchoring HOT 2
- Google analytics plugin is not working with Google Analytics 4 HOT 1
- The deployed web didn't change at all and suddenly couldn't be built
- Cant use tooltip help
- SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener' HOT 3
- Using vuepress1.9.10 in an existing project in vue2.6.6, the console reports an error: Cannot create property 'top' on boolean 'true'
- Cannot build after configured alias vue to vue/dist/vue.esm-bundler.js
- HelloGitHub Badge
- DOMException: Failed to execute 'querySelector' on 'Document': '.vp=sidebar xxx' is not a valid selector
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress.