How to Contribute
How to Create Pages
1. Get Access to the Repository
To add or edit pages in the mdBook, you need to be a member of the DD GitHub organization. If you haven't received an invite to the GitHub organization yet, please ask one of the organization Owners to invite you here.
2. Navigate to the Repository
- Open the GitHub repository by clicking this link: https://github.com/Dimension-Delvers/dimension-delvers-docs/
3. Find the src
Folder
- Inside the repository, look for a folder named
src
. - This folder contains all the
.md
(Markdown) files used in the documentation.
4. Create a New Page
- Click the
Add file
button and selectCreate new file
. - Name your file with a
.md
extension (e.g.,new_page.md
). If you want to put the file in a folder, type the folder name followed by a / before the file name (e.g.,folder_name/new_page.md
). - Write your content in Markdown format.
5. Edit an Existing Page
- Inside the
src
folder, find the file you want to edit. - Click on it, then press the
Edit
button (pencil icon). - Make your changes using Markdown syntax.
6. Link Your Page
To make your page accessible from the book’s navigation:
- Open the
SUMMARY.md
file in thesrc
folder. - Add a new line with a link to your page in this format:
- [Page Title](new_page.md)
- Save your changes.
7. Commit Your Changes
- Press the green button in the top right of the page that says "Commit changes..."
- Add a short commit message (e.g.,
Added new_page.md
). - Click
Commit changes
.
Markdown Quick Reference
- Headings:
# Title
,## Subtitle
,### Section
- Bold:
**bold text**
- Italic:
*italic text*
- Links:
[text](url)
- Lists:
- Item
(unordered)1. Item
(ordered)
- Code Blocks:
(Remove the backslashes)\```language Code here \```
If you have any questions, feel free to ask in the Discord server