Skip to content

Commit

Permalink
remove useless toc explicit exports on website
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jan 19, 2024
1 parent 9b258e7 commit 3d43631
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ tags: [paginated-tag]

{/* truncate */}

import Content, {
toc as ContentToc,
} from '@site/_dogfooding/_partials/toc-tests.mdx';
import Content from '@site/_dogfooding/_partials/toc-tests.mdx';

<Content />

export const toc = ContentToc;
6 changes: 1 addition & 5 deletions website/_dogfooding/_pages tests/page-toc-tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ toc_min_heading_level: 2
toc_max_heading_level: 4
---

import Content, {
toc as ContentToc,
} from '@site/_dogfooding/_partials/toc-tests.mdx';
import Content from '@site/_dogfooding/_partials/toc-tests.mdx';

<Content />

export const toc = ContentToc;
4 changes: 1 addition & 3 deletions website/community/3-contributing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ sidebar_label: Contributing
---

```mdx-code-block
import Contributing, {toc as ContributingTOC} from "@site/../CONTRIBUTING.md"
import Contributing from "@site/../CONTRIBUTING.md"
<Contributing />
export const toc = ContributingTOC;
```

0 comments on commit 3d43631

Please sign in to comment.