docs: add tags package to generate tags (#10666)
* initial changes * finalize implementation * run generator on prep * remove tags package from book * optimization attempt * test transpile * test transpile * rename utils * rename directory * add vercel ignore * add tags to book
This commit is contained in:
1 parent
3f4d574748
commit
16ae192456
41 files changed
+424
-62
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { statSync, readdirSync } from "fs"
|
||||
import path from "path"
|
||||
import { getFileSlugUtil } from "remark-rehype-plugins"
|
||||
import { getFileSlug } from "../../../packages/docs-utils/dist"
|
||||
|
||||
const monoRepoPath = path.resolve("..", "..", "..")
|
||||
|
||||
@@ -42,7 +42,7 @@ export default async function getSlugs(options = {}) {
|
||||
continue
|
||||
}
|
||||
|
||||
const newSlug = await getFileSlugUtil(filePath)
|
||||
const newSlug = await getFileSlug(filePath)
|
||||
|
||||
if (newSlug) {
|
||||
slugs.push({
|
||||
|
||||
Reference in new issue
Block a user