Skip to content
duxt

useDuxtSection()

The part of the documentation this page is in.

Signature

const { section, items } = useDuxtSection(navigation);

Returns

ValueTypeWhat it is
sectionobjectThe configured section the page sits under
itemsarrayThat section branch of the tree

Notes

With no sections configured the whole tree comes back, which is the right shape for documentation that is not split into parts.

Was this page helpful?