The following updates will be available in Doctocat v0.24.0.
We made updates to the table of contents in Doctocat based on feedback documented in primer/doctocat#137.
Specifically, here's what changed:
- Reduced the font size of the table of contents items from 16px to 14px
- Increased the max width of main content area to 960px
- Limited the depth of the table of contents to h3
- Collapsed empty table of contents items
- Updated mobile table of contents based on @ashygee's designs
Here's the PR for the table of contents changes: primer/doctocat#166
Before | After |
---|---|
We added a Note component to Doctocat that people can use to draw attention to specific information in documentation pages.
Here's the PR that implements the Note component: primer/doctocat#167
Here's the documentation for the Note component: https://gatsby-theme-primer-example-git-release-0240.primer.vercel.app/doctocat/components/note
Before | After |
---|---|