Contributor Guide
Welcome! This guide explains how to contribute to the CMS User Guide using mdBook.
How mdBook Works
- All content lives in the
src/directory as Markdown files. - The book structure is defined in
src/SUMMARY.md. - When you push changes to the
mainbranch, the book is automatically rebuilt and published to GitHub Pages.
How to Add or Edit Content
Add a New Chapter/Page
- Create a new Markdown file in
src/(e.g.,src/New_Chapter.md). - Add a link to your new file in
src/SUMMARY.md:- [New Chapter](./New_Chapter.md) - Commit and push your changes to
main.
Edit Existing Content
- Edit the relevant Markdown file in
src/. - Commit and push your changes.
Organize Chapters
- Use
src/SUMMARY.mdto set the order and hierarchy of chapters. - Indent chapters under parents for nesting.
Preview Locally (Optional)
- Install mdBook (if not already):
- macOS:
brew install mdbook - Linux:
cargo install mdbook - Windows: Download from mdBook releases
- macOS:
- Run
mdbook servein the repo directory. - Open
http://localhost:3000in your browser.
Best Practices
- Always update
src/SUMMARY.mdwhen adding/removing/reordering chapters. - Use clear filenames and titles.
- Preview locally before pushing.
- Commit related changes together.
Need Help?
- Open an issue or ask in the repository discussions.
Thank you for contributing!
Useful Links
- Markdown Reference:
- Markdown Editors:
- Other Tools: