diff --git a/.changeset/fifty-bikes-poke.md b/.changeset/fifty-bikes-poke.md new file mode 100644 index 00000000..f4dbefed --- /dev/null +++ b/.changeset/fifty-bikes-poke.md @@ -0,0 +1,5 @@ +--- +'@myst-theme/site': patch +--- + +In this article --> Contents diff --git a/packages/site/src/components/DocumentOutline.tsx b/packages/site/src/components/DocumentOutline.tsx index 2caaf8ca..0b0c4501 100644 --- a/packages/site/src/components/DocumentOutline.tsx +++ b/packages/site/src/components/DocumentOutline.tsx @@ -352,6 +352,7 @@ function useMarginOccluder() { export const DocumentOutline = ({ outlineRef, + title = 'Contents', top = 0, className, selector = SELECTOR, @@ -360,6 +361,7 @@ export const DocumentOutline = ({ isMargin, }: { outlineRef?: React.RefObject; + title?: React.ReactNode; top?: number; height?: number; className?: string; @@ -406,7 +408,7 @@ export const DocumentOutline = ({ }} >
- In this article + {title}