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

Docs only mode root docs not indexed #17

Closed
kohheepeace opened this issue Jul 14, 2020 · 2 comments
Closed

Docs only mode root docs not indexed #17

kohheepeace opened this issue Jul 14, 2020 · 2 comments
Assignees

Comments

@kohheepeace
Copy link

kohheepeace commented Jul 14, 2020

Hi @lelouch77 , really thanks for this awesome repogitory.

I found that If I'm using this repo with docs only mode of docusaurus, the root docs is not indexed.

Thanks.

@lelouch77 lelouch77 self-assigned this Jul 15, 2020
@lelouch77
Copy link
Collaborator

Hi @kohheepeace , Thanks for reporting the issue.
Base URL will not be indexed by default, I have added an option for it in the new version(2.1.6), try setting it

    plugins: [[ require.resolve('docusaurus-lunr-search'), {
      indexBaseUrl: true
    }]

/~https://github.com/lelouch77/docusaurus-lunr-search#indexbaseurl

And thanks for your docusaurus-pdf plugin, it awesome :)

@kohheepeace
Copy link
Author

yay🎉 thanks for quick fixing👍

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