docsifyjs / docsifyjs/docsify

search plugin support regular to replace paths

未关闭
#1,625 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
needs investigation PoC welcome
主要语言
JavaScript
星标
31.5k
派生
5.8k
平均合并
9 天 8 小时
30 天内合并 PR
2

描述

## Feature request

#### What problem does this feature solve?

Search plugin should support regular replace paths.

#### What does the proposed API look like?

#### How should this be implemented in your opinion?

function getAllPaths repalce mode change: `paths.indexOf(path)` to `paths.match(RegExp)`

#### Are you willing to work on this yourself?
yes.

贡献指南

打开贡献指南

调研方向

Start in the search plugin at getAllPaths and inspect how paths are currently checked with paths.indexOf(path). Run the existing search-plugin tests, if available, before changing the path-matching behavior. Done means regular-expression path replacement works without breaking existing path searches.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
search
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。