-
Notifications
You must be signed in to change notification settings - Fork 39
URL Structure
- All URLs are dasherized and slugified
- Main sections URLs (
/principles,/guidelines, etc…) redirect to first section's first piece of content (/principlesgoes to/principles/introduce-cognitive,/guidelinesgoes to/guidelines/style/accessibility, etc…) - Sub Section URLs (
/guidelines/style,/ui-patterns/documentation) redirect to that section's first piece of content (/guidelines/stylegoes to/guidelines/style/accessibility,/ui-patterns/documentationgoes to/ui-patterns/documentation/getting-started, etc…) - No URLs should point to
.htmlfiles; they should all point to folders with anindex.htmlfile in them (they should all be Semantic URLs
The folder structure in the language section will determine what main and sub sections will be generated. Any folder that contains .md or .html files will generated and become part of the URL structure. With the exception of the home page (language/index.html), the 404 page (language/404.md), and individual pattern pages, all long-form text or pages should live inside a sub folder of a main section folder in the language section of this repository and be titled either index.html or index.md.
Main section, sub section, and sub section item order is determined alphabetically. Numbers can be prepended (01-guidelines, 02-principles, etc…) to manually control the order with which they are ordered, with any unnumbered items being ordered alphabetically after. Numbers that are prepended will not be included in the final URL structure and are only used for ordering.