-
Notifications
You must be signed in to change notification settings - Fork 46
Documentation Formats
Mike Mai edited this page May 6, 2021
·
5 revisions
- Use caps when referring to the proper component, e.g. "The Modal component presents users with...".
- Use lowercase when referring to an instance of a component, e.g. "...the spacing around a modal container".
- Use HTML with backticks when referring to the code itself, e.g. "Define each prop on
<bolt-modal>
". - Wrap prop names and prop values with backticks, e.g. "The
width
prop is set tooptimal
by default".
- Use the HTML and the component name interchangeably, e.g. "The
<bolt-modal>
component". Instead use the name, "The Modal component", unless you specifically mean the HTML. - Use component tag name without brackets, e.g.
bolt-modal
. Either include brackets or use the component name instead. - Say "Bolt Modal component". Just say "Modal component".
Also reference Bolt Doc Writing Guide.
- Basic A11y Checklist
- Get started with Bolt locally
- Bolt Specific Standards and Conventions
- How to save SVG graphics and SVG icons
- Upgrade to minor release
- Upgrade to 4.x
- Upgrade to 5.x
- Release Workflow
- VS Code Configuration
- Bolt Doc Writing Guide
- Prefixing Custom Attributes
- Standard Props for Passing Content in Twig
- Building Websites with Bolt in Drupal
- From Design Mockup to Code
- Override with Utility Classes