Contributing
Thank you for considering contributing to the GFX906 Wiki! This guide outlines how you can help improve the documentation.
Easy Contribution
If you want to simply add or edit some markdown files without touching the console, follow this method.
To edit a markdown file on the wiki:
-
Open it on github and click the "edit" button. You will be prompted to create a fork if you don't already have a fork. Do so.
-
Make your edits and be sure to keep the markdown clean as outlined in Making Changes.
-
Commit and repeat this process until you are done.
-
Submit a pull request to the "main" branch
To add your own existing markdown files:
-
Click the Fork button on the top right of the repository page.
-
Click "Add file" on the main page of your fork. Click "Upload Files". Make sure your files contain clean markdown. See Making Changes.
-
Upload all files you want to add and click "Commit Changes". See Commits
-
Update the SUMMARY.md file following the process above to add links to your files to the sidebar. Please try to respect the existing structure of the sidebar.
-
Submit a pull request to the "main" branch
Local deployment
-
Fork the repository
Click the Fork button on the top right of the repository page. -
Clone your fork
git clone https://github.com/<your-username>/wiki-gfx906.git cd wiki-gfx906 -
Create a feature branch
git checkout -b <branch-name> -
Install mdBook (if you haven’t already)
cargo install mdbook -
Build and preview locally
mdbook serveOpen http://localhost:3000 in your browser to see your changes live.
Making Changes
- Add or edit content in the
src/directory. - Update
SUMMARY.mdto include any new pages you add. - Keep markdown clean and consistent:
- Use headings (
#,##, …) to structure sections. - Prefer fenced code blocks with language identifiers.
- Use relative links for internal navigation.
- Use headings (
Commit Messages
Write clear, concise commit messages. Follow this format:
<type>: <short description>
<optional longer description>
Common <type> values:
docs: documentation updatesfix: typo or small correctionfeat: new page or major addition
Pull Request Process
-
Push your branch to your fork:
git push origin <branch-name> -
Open a Pull Request against the
mainbranch of the upstream repository.- Provide a descriptive title and summary of changes.
- Link to any relevant issue(s) (e.g.,
Closes #42).
-
Review – maintainers will review your PR. Respond to feedback promptly.
Code of Conduct
We expect all contributors to behave respectfully. Harassment and discrimination of any kind will not be tolerated. See the CODE_OF_CONDUCT.md for details.
License
By contributing you agree that your contributions will be licensed under the same license as the project (see LICENSE).
Happy documenting! 🎉