Highlight's landing page & docs: highlight.io
Welcome to the repo we use to maintain our main landing page (https://highlight.io) and docs (https://highlight.io/docs). If you're looking to make contributions to Highlight's main repository, head over to https://github.com/highlight/highlight.
If you want to explicitly order items in the left panel (e.g. to make the overview
section at the top of a subdirectory), rather than naming a file or directory in the format {{content}}
you can use the syntax {{number}}_{{content}}
.
- For example, for
http://localhost:3000/docs/getting-started/fullstack-frameworks/next-js/metrics-overview
, the file path of the doc isdocs/general-docs/2_getting-started/fullstack-frameworks/next-js/metrics-overview.md
- Notice
2_getting-started
because we want it second in the list of subfiles.
- For files in
general-docs
, the base path isdocs/
and for files insdk-docs
, the base path isdocs/sdk
. - The rest of the slug is defined based on the file name / directory structure of the file. For files/folders in the form
{{number}}_{{content}}
*, only the content is included in the slug.- For example, for
http://localhost:3000/docs/getting-started/fullstack-frameworks/next-js/metrics-overview
, the file path of the doc isdocs/general-docs/2_getting-started/fullstack-frameworks/next-js/metrics-overview.md
- For example, for
Run yarn dev
(and optionally yarn styles
if you’re making styling changes).
When a doc change is merged, you should be able to view the doc that you added/changed after a deploy is successful in Vercel at https://highlight.io.