How to use the Design Doc Template
Purpose
Section titled “Purpose”Design docs are standard a standard practice in industry.
The purpose of a design doc is to:
- Plan out your design
- Communicate your design effectively with other members
- Get feedback on your design from other members and leads
- Document the plan, caveats, alternatives, and noting the “why” behind decisions (longevity)
BEFORE changing any code.
These should be used to document large changes such as migrations, reorgs, refactors, new features, etc.
For smaller changes, you may do a mini version of a design doc or leave it up to the discretion of your subteam’s lead for how to proceed.
Creating your design doc
Section titled “Creating your design doc”- Follow the How to Contribute Guide
- Make a copy of
/src/content/docs/gcs/Design Docs/DesignDocTemplate.mdand place it into the correct directory for your subteam under/src/content/docs/gcs/Design Docs - If you’d like to embed interactive elements, change the extension from
.mdto.mdx - Title it
[Your short title here] Design Doc - Remove
sidebar: order: 5from the template to prevent messing up the sidebar - Fill out the subheadings as needed. You may remove, add, or modify any section of the template to fit your needs
Submitting your design doc
Section titled “Submitting your design doc”- Create a Pull Request (PR) for your design doc’s branch on the documentation repo
- Update the
PR Linksection with the link to this PR - Add the appropriate reviewers to your PR (Subteam leads & other relevant members)
- Ping them on discord to let them know they’ve been added as a reviewer
- Make changes based on the feedback from reviewers
- Once approved, you may merge the PR into main and begin coding your solution