Auto Set Series

reco_luan2023-02-17

Introduction

In order to save users' time cost, the theme can automatically generate a series of configurations for the documents under the docs folder according to the folder nesting relationship.

/
└─ .vuepress
└─ docs
  └─ sery 1
    └─ doc1.md
    └─ doc2.md
  └─ sery 2
    └─ group1
      └─ doc3.md
    └─ group2
      └─ doc4.md

Configure

import { defineUserConfig } from 'vuepress'
import { recoTheme } from 'vuepress-theme-reco'

export default defineUserConfig({
  theme: recoTheme({
    // auto set series
    autoSetSeries: true,
  })
})
Last Updated 4/24/2024, 7:04:50 PM