* expand parseHeadingId
Will produce a kebab-case heading ID from string if none explicitly declared in the markdown. Always returns an object with the children, title and headingId.
* remove redundant code from MDComponents.tsx
parseHeadingIds now always returns an object with an ID, removing need for conditionals here
* Use Box instead of flex Stack for MDX content
Allows stacked vertical margins to properly collapse into each other
* fix: h2 top margin to 3rem on mobile
* remove unneeded line
* extract and rename getKebabCaseFromName util fn
* Update src/pages/[...slug].tsx
* Update src/utils/parseHeadingId.ts
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
* move constant inside function
make variable name all caps as a string constant
* clean up utils/index.ts to abc order
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
* fix hover for DocumentNav links [Fixes#73]
* use Box instead of flex Stack
Allows vertical margins of children to collapse into each other
* Revert "use Box instead of flex Stack"
This reverts commit a4811127ccd7424da8f51e2a056aee447fc5db08.
* add :focus and :active states
* add bold for active docs link [Fixes#74]
* Add ::before indicator to active doc link
Removes bold styling per design
* Update documentation-links.yaml
Makes it so `id` is paired with either a `to` field OR a list of `items` but not both
* Updates hover styling for left docs nav
* clean up styling
Removes remaining underlines from links styled as buttons. Cleans up logic for conditionally showing the ::before pseudo element. Makes the ::before indicator slightly larger.
* tweak ::before indicator styling
* tweak ::before indicator styling
* crawl files and create directory tree for sidebar
* dropdown
* Working on dropdown links and styling
* setup header nav
* Styles
* DocumentNav sidebar done
* wrap up header sidebar
* setup top level nav
* update root level data and fix link bug
* doc links yaml
* nav links for docs
* remove character
* prettier
* fix build error
* MDX style
* Update src/components/UI/docs/DocsLinks.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
* Abstract LinksList component into its own file
* change requests
* AccordionButton styles
* AccordionButton styled
* fix broken links
* prettier
* prettier
* fix broken default code snippet
* fix accordion spacing
* fix gap at top of DocsNav lg
* fix but of persistent header link
* remove test content
* setup Notes and prettier
* rehype
* Note component
* Note font styling
* convert old notes to use component
* Breadcrumb cleanup and prettier
* MDXComponents -> MDComponent and documentation
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
Merges "Code" component from within MDXComponents to recently added UI/docs/Code.tsx, merging and cleaning up conflicts.
Moves all syntax highlighter logic to this component.