Authoring Guide · Customization

Navigation

How to update navigation items and links

Updated Jan 1, 2024 · 1 min read

Navigation

Guide to updating navigation items, links, and the search functionality.

The navigation is defined in components/Navigation.tsx.

Adding/Removing Navigation Items

Edit the navItems array in components/Navigation.tsx:

Updating Site Name

Set brandTitle and siteName in kb.config.json. That updates the nav label and SEO title.

To change how the logo looks, edit the brand Link in components/Navigation.tsx.

The search bar is automatically included in the navigation. It searches across all documentation.

To customize search behavior, edit components/DocsSearchBar.tsx.

CV Download Button

The CV download button is in the navigation. To update:

  1. Place your CV in public/assets/general/pdfs/cv.pdf
  2. Or update the link in components/Navigation.tsx:

Mobile Menu

The mobile menu automatically includes all navigation items. It's responsive and appears on small screens.

Next Steps