Skip to content

Feature Request: the search box is missing #147

Description

@alabulei1

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.

Activity

  1. masterghost2002 commented on Aug 18, 2023

    @masterghost2002
    Contributor

    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

  2. adithyaakrishna commented on Aug 25, 2023

    @adithyaakrishna
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions