diff --git a/docs/components.md b/docs/components.md index 884cb38..ee7e407 100644 --- a/docs/components.md +++ b/docs/components.md @@ -10,7 +10,6 @@ The following components and modifications are available: - - [`Structure`](#structure) - [`Grid`](#grid) - [`Row`](#row) @@ -38,6 +37,7 @@ The following components and modifications are available: - [Component `Silent`](#component-silent) - [Component `SiteNotice`](#component-sitenotice) - [Component `Toolbox`](#component-toolbox) +- [Component `Toc`](#component-toc) - [Modification `HideFor`](#modification-hidefor) - [Modification `ShowOnlyFor`](#modification-showonlyfor) - [Modification `Sticky`](#modification-sticky) @@ -1154,6 +1154,25 @@ and a link to a list of pages linking to the current page. #### Allowed Child Elements: * Any modification +------------------------------------------------------------------------------- +### Component `Toc` + +The table of contents. This removes the table of contents from the main content and allows it to be placed elsewhere. +Subsections are collapsed, and it tracks the user's position on the page. + +This component is experimental. Additional styling is required depending on where the component is placed. + +Since Chameleon 4.4.0 + +#### Example usage + +``` xml + +``` + +#### Attributes: +None + ------------------------------------------------------------------------------- ### Modification `HideFor` diff --git a/docs/variables.md b/docs/variables.md index 25844a1..c732724 100644 --- a/docs/variables.md +++ b/docs/variables.md @@ -20,7 +20,6 @@ Some examples are provided below: - - [Grid breakpoints](#grid-breakpoints) - [Link formats](#link-formats)