Default Search bar does not show up in the header nav on a new site built using Docusaurus V2
but /search
shows the search page:
Steps I followed:
- Created a new site using command
npx @docusaurus/init@latest init mysite classic
. - Per documentation, classic should include Search https://docusaurus.io/docs/api/themes/@docusaurus/theme-search-algolia ?
- Added this to
docusaurus.config.js
themeConfig: { navbar: { items: [ { type: 'search', position: 'right', }, ... ...
The documentation here https://docusaurus.io/docs/search does not mention clearly how to the default search bar shows up. What am I missing?