Skip to content

smeijer-forks/docz-theme-hydrate

 
 

Repository files navigation

docz-theme-hydrate

Hydrate theme for docz

This theme extends the default docz theme, docz-theme-default to allow for an additional set of features.

Nested Menus

To extend beyond docz's single menu level restriction, simply pass an array to the menu frontmatter in your mdx files.

---
name: Example
menu: ['First', 'Second', 'Third']
---

External Links

To add an external link in the left navigation, add an .mdx file with the following metadata at the top.

---
name: <Link Title>
menu: <Parent Menu>
type: external-link
href: http://example.com
---

Hidden Pages

If you want to create .mdx files that can be imported into other pages but not appear as pages within docz's left navigation sidebar, then add the following metadata to the top of the file.

---
routable: false
---

The page will still be available as an import to other pages but it will not appear in the site navigation.

More to come.

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 2.8%