Quickstart Guide to Create a Sidebar Item
#
IntroA sidebar category
refers to the navigation group name and item
refers to the page name.
#
Steps with a new branch- Open the Design System repository.
- On the Code tab at the top of the page, scroll down and select Sidebar file.
- Select the pen located on the upper right side of the file to
edit this file
. - Go to the category or item you want to edit and add the item
- At the bottom of the file in the
Commit changes
dialog box write a short summary or name the commit appropriately. - A branch name will be generated for you but you should rename to make sense for you and others.
- Go to Add a New File to a Page in Github - Step 3 to complete the steps for a new file.
#
Steps with a pre-existing branch- Open the Design System repository.
- Select the
branch
from the dropdown for which you wish to commit this change. - On the
Code
tab at the top of the page, scroll down and select Sidebar file. - Select the pen located on the upper right side of the file to
edit this file
. - Go to the category or item you want to edit and add the item (you can copy & paste the line of code and change the name for the category or item)
- At the bottom of the file in the
Commit changes
dialog box write a short summary or name the commit appropriately. - The branch you selected in step 2 will be generated for you.
- Click
commit
this change will now appear as a commit on your open PR.