docs icon indicating copy to clipboard operation
docs copied to clipboard

Feature Request: the search box is missing

Open alabulei1 opened this issue 3 years ago • 2 comments

Once we have a search box for the docs. See the PR #31

However the search box is missing now. I'm not sure which PR removes the search box. We need to add this feature again.

alabulei1 avatar Aug 17 '23 02:08 alabulei1

fixed->issue:147 search bar missing, reason:themes:[ Array ] in config consisting of localsearch is over written by themes [Array] in extendedConfig

Explanation

All the changes are done in docusaurus.config.js

The reason for the search bar is not visible the, themes array [line no 62] in the config object which again consist a array of "@easyops-cn/docusaurus-search-local" the extension which is responsible for the search bar, is being overwritten by the array in extendedConfig object.

Related issue

fixes#147

What type of PR is this

/fixes /feature-required

PR Link

Proposed Changes

Merge the themes array present in the extendedConfig object which overwrites the themes array present in config object.

Live link for testing

Live Testing Link

ScreenShot

Screenshot from 2023-08-18 09-58-41

masterghost2002 avatar Aug 18 '23 07:08 masterghost2002

@alabulei1 Can we please close this Issue as it is fixed now?

adithyaakrishna avatar Aug 25 '23 07:08 adithyaakrishna