Skip to content

Commit eea26fb

Browse files
authored
Merge pull request #668 from mpourismaiel/docs/content/sidebar-sticky
Update documentation for content fragment
2 parents ee9f552 + 5007e47 commit eea26fb

File tree

1 file changed

+7
-0
lines changed
  • exampleSite/content/fragments/content

1 file changed

+7
-0
lines changed

exampleSite/content/fragments/content/docs.md

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ If this object is present in fragment configuration a sidebar would appear next
4040
##### sidebar.title
4141
*type: string*
4242

43+
##### sidebar.sticky
44+
*type: boolean*
45+
46+
Makes the sidebar stick to top of the page when user scrolls past it.
47+
48+
**NOTE:** Sticky sidebars will not be merged into one, when there are multiple content fragment in a page.
49+
4350
##### sidebar.align
4451
*type: string*
4552
*accepted values: right, left*

0 commit comments

Comments
 (0)