Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search file configuration #2409

Closed
LIGMATV opened this issue Apr 24, 2024 · 1 comment
Closed

Search file configuration #2409

LIGMATV opened this issue Apr 24, 2024 · 1 comment

Comments

@LIGMATV
Copy link

LIGMATV commented Apr 24, 2024

Feature request

#360 Search file configuration

Problem or desire

I want to have a configuration to including all files in search result.

Proposal

See title.

Implementation

{
search : [
+      '/',            // => /README.md
+     '/zh-cn',      // => all the files in /zh-cn folder
+     '/us-en/a*'  // => all the files that name start with 'a'
    ]
}
@sy-records
Copy link
Member

If you don't use auto mode, you need to manually define the paths you need to search for in search.paths.

If you need to support searching content in multiple languages at the same time, it needs to be added to the sidebar in order to generate an index.

The search starts with a certain character and specifies a directory, which is not currently planned to be supported.

@sy-records sy-records closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants