Git Product home page Git Product logo

Comments (9)

brandonkelly avatar brandonkelly commented on July 23, 2024 20

Sitemap support should be added regardless of blogging support. 🙏

from vuepress.

dgpgdev avatar dgpgdev commented on July 23, 2024 13

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.

ekoeryanto avatar ekoeryanto commented on July 23, 2024 3

I extracted my snippet here for v0.x
https://github.com/ekoeryanto/vuepress-plugin-sitemap

from vuepress.

andreasvirkus avatar andreasvirkus commented on July 23, 2024 2

There's also a plugin now for RSS/Atom/JSON feeds: https://github.com/webmasterish/vuepress-plugin-feed

from vuepress.

tomcam avatar tomcam commented on July 23, 2024

Love this! Hope it's added.

from vuepress.

ekoeryanto avatar ekoeryanto commented on July 23, 2024

i implement this with generated sitedata in temp dir

from vuepress.

ulivz avatar ulivz commented on July 23, 2024

@ekoeryanto You can create a plugin for this.

from vuepress.

ekoeryanto avatar ekoeryanto commented on July 23, 2024

I am doing this, both for v0.x and v1.0.x

from vuepress.

ulivz avatar ulivz commented on July 23, 2024

Thanks to @ekoeryanto and @andreasvirkus.

from vuepress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.