Congratulations!
You have just learned the basics of Docusaurus and made some changes to the initial template.
Docusaurus has much more to offer!
What's next?
- Read the official documentation
- Modify your site configuration with
docusaurus.config.js
- Add navbar and footer items with
themeConfig
- Add a custom Design and Layout
- Add a search bar
Hint
You can enable local search using the Docusaurus lunr search plugin by uncommenting the relevant line in docusaurus.config.ts
.
- Open
docusaurus.config.ts
. - Locate the line:
// plugins: [require.resolve('docusaurus-lunr-search')],
- Remove the
//
at the beginning of line to enable the plugin. - Commit changes.
- After making this change, refresh your website. If you still don’t see the search working, clear your browser cache and try again.
- Find inspirations in the Docusaurus showcase
- Check Docusaurus Community Resources
- Get involved in the Docusaurus Community