fix(nx-dev): Remove ToC from CI releases page (#26040)

Remove the ToC section from CI releases.

Ref:
https://nx-dev-git-fix-nx-dev-release-page-scroll-nrwl.vercel.app/ci/reference/release-notes
This commit is contained in:
Nicholas Cunningham 2024-05-27 09:44:32 -06:00 committed by GitHub
parent ef4035a56a
commit 377667eb13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,8 @@ export function DocViewer({
router.asPath.includes('/ci/intro/ci-with-nx') ||
router.asPath.includes('/extending-nx/intro/getting-started') ||
router.asPath.includes('/nx-api/devkit') ||
router.asPath.includes('/reference/glossary');
router.asPath.includes('/reference/glossary') ||
router.asPath.includes('/ci/reference/release-notes');
const ref = useRef<HTMLDivElement | null>(null);
const { metadata, node, treeNode } = renderMarkdown(