diff --git a/docs/guides/running-tscircuit/scripting/_category_.json b/docs/guides/running-tscircuit/scripting/_category_.json new file mode 100644 index 0000000..e26f983 --- /dev/null +++ b/docs/guides/running-tscircuit/scripting/_category_.json @@ -0,0 +1,10 @@ +{ + "label": "Scripting", + "position": 10, + "link": { + "type": "generated-index", + "description": "Learn how to use tscircuit programmatically with scripts." + }, + "collapsible": true, + "collapsed": false +} diff --git a/src/css/custom.css b/src/css/custom.css index 9ed9dba..6324f32 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -624,6 +624,33 @@ figure img { padding-right: 16px !important; } +.theme-doc-sidebar-item-category[class*="level-3"] + > .menu__list-item-collapsible + > .menu__link { + padding-left: 28px !important; +} + +.theme-doc-sidebar-item-link[class*="level-4"] .menu__link, +.theme-doc-sidebar-item-category[class*="level-4"] + > .menu__list-item-collapsible + > .menu__link { + padding-left: 40px !important; +} + +.theme-doc-sidebar-item-link[class*="level-5"] .menu__link, +.theme-doc-sidebar-item-category[class*="level-5"] + > .menu__list-item-collapsible + > .menu__link { + padding-left: 52px !important; +} + +.theme-doc-sidebar-item-link[class*="level-6"] .menu__link, +.theme-doc-sidebar-item-category[class*="level-6"] + > .menu__list-item-collapsible + > .menu__link { + padding-left: 64px !important; +} + @media (max-width: 768px) { iframe { max-width: 90vw; diff --git a/src/theme/DocSidebarItem/index.tsx b/src/theme/DocSidebarItem/index.tsx new file mode 100644 index 0000000..c2c595a --- /dev/null +++ b/src/theme/DocSidebarItem/index.tsx @@ -0,0 +1,10 @@ +import React, { type ReactNode } from "react" +import DocSidebarItem from "@theme-original/DocSidebarItem" +import type DocSidebarItemType from "@theme/DocSidebarItem" +import type { WrapperProps } from "@docusaurus/types" + +type Props = WrapperProps + +export default function DocSidebarItemWrapper(props: Props): ReactNode { + return +}