Giter Club home page Giter Club logo

Comments (4)

shanyuhai123 avatar shanyuhai123 commented on May 24, 2024 1

已经增加了该功能,目前有两种方式:

  1. Markdown 文件内(隐藏单个)
---
autoIgnore: true
---
  1. 配置文件(隐藏多个)
module.exports = {
  plugins: {
    "vuepress-plugin-auto-sidebar": {
      ignore: [
        // 例如忽略 `/menu3/menu3-3/` 目录下以 `ignore-` 开头的文件
        {
          menu: "/menu3/menu3-3/",
          regex: "ignore-*"
        }
      ]
    }
  }
}

from vuepress-plugin-auto-sidebar.

JasonGrass avatar JasonGrass commented on May 24, 2024 1

在 2.1.0 版本 测试成功,超级棒~

from vuepress-plugin-auto-sidebar.

shanyuhai123 avatar shanyuhai123 commented on May 24, 2024

目前是缺乏这个功能的,不过你可以利用 autoPrev 来指向一个错误的路径来 hack 的方式实现。

image

我应该会在下周末前发新的一版,并实现该功能。

from vuepress-plugin-auto-sidebar.

JasonGrass avatar JasonGrass commented on May 24, 2024

哈哈哈,autoPrev 这个有效,期待新版本,[星星眼] 。

from vuepress-plugin-auto-sidebar.

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.