Guidelines
We welcome contributions!#
You can contribute to Courage Reborn (the game and modding APIs) or to this documentation site. They live in separate repositories:
| Courage Reborn | Documentation | |
|---|---|---|
| Repository | Linifadomra/Courage-Reborn | Linifadomra/documentation |
| What to change | Engine, Petrichor, Augment, mods | Guides, API reference, hook browser data |
| Getting started | Building guides | Edit files under docs-cr/ in this repo |
The rest of this page covers documentation contributions: workflow, style, and formatting. For code changes, use the Courage Reborn repository and its pull request process. See the Git guides for squash and rebase tips that apply to both repos.
Contributing to Courage Reborn#
- Fork the Courage Reborn repository.
- Clone your fork and follow the building guides to set up your environment.
- Make your changes and open a pull request against the main Courage Reborn repository.
How to contribute to the documentation#
You can use the Markdown Guide to gain an understanding of Markdown and its principles.
You can contribute to the documentation in one of two ways, depending on how you'd like to work:
Edit directly on GitHub#
For small fixes or quick edits, you can use GitHub's in-browser editor.
Simply navigate to the file you want to change and click the pencil icon.
For guidance, see GitHub's help page on editing files.
Fork the documentation repository and submit a pull request#
- Fork the documentation repository by clicking the "Fork" button in the top right corner.
- Clone your fork to your local machine using a Git client or the command line. For example, you can use
git clone https://github.com/your-username/documentation.git, replacing your-username with your GitHub username. - Make your changes locally in the cloned repository.
- Push your changes to your fork on GitHub. Make sure to commit your changes first, then push them to a branch in your fork.
- Open a pull request from your fork to the main documentation repository. Be sure to fill out the pull request template with the necessary information.
- Wait for your pull request to be reviewed.
Contribution Guidelines#
- Write Clear and Concise Documentation: Aim to be as clear and concise as possible. Documentation should be accessible to both beginners and experienced developers.
- Keep It Up-to-Date: Ensure that the information you're adding or modifying is current. If you're making changes to outdated information, make sure to verify the facts before submitting your PR.
- Provide Context: Whenever applicable, include context, such as code examples or explanations of complex terms. You should cross-reference other parts of the documentation if relevant.
- Respect Others' Work: Be respectful of existing content. If you are editing someone else's work, please take care to preserve the original intent and style.
- Link to Issues: If your changes address a specific issue, reference it in the PR name using GitHub issue references (e.g.,
Fixes #123). - Keep It Professional: Limit the use of emojis to avoid distracting elements.
Styling Guidelines#
General Formatting#
Headings#
Use Markdown headers to organize your content: - Use ## for section headers and ### for subsections and so on. - Ensure headers are descriptive and meaningful.
Example:
✅ ## Writing your first mod
❌ ## Miscellaneous / First Step
Lists#
- Use bullet points (like - or *) for unordered lists, such as:
- Examples
- Notes
-
Options or unordered items
-
Use numbered lists (e.g., 1., 2., etc.) for ordered content, including:
- Step-by-step instructions
- Processes where order matters
- Ranked lists or priorities
Alert Boxes#
Use alert boxes to highlight important information.
Examples:
{{%/* alert title="Primary alert" theme="primary" */%}}A simple primary alert{{%/* /alert */%}}
{{%/* alert title="Secondary alert" theme="success" */%}}A simple secondary alert{{%/* /alert */%}}
{{%/* alert title="Warning alert" theme="warning" */%}}A simple warning alert{{%/* /alert */%}}
{{%/* alert title="Danger alert" theme="danger" */%}}A simple danger alert{{%/* /alert */%}}
Links#
Limit the use of external links whenever possible.
When external links are necessary, ensure they are likely to remain available long-term. Do not add links to images, see "Images and Diagrams" for more information on how to add them inside our documentation repository.
Use [text](URL) for clickable links.
Example: [Courage Reborn Docs](https://github.com/Linifadomra/documentation/tree/main/docs-cr)
Do not use shorthand links such as <https://example.com>.
Sibling URLs require to go to the parent path using ../ even though the corresponding files are located in the same directory.
Code Example Formatting#
Use backticks (``) for inline code.
Example: `git clone https://github.com/Linifadomra/documentation.git`
Use triple backticks (```) to create code blocks for larger examples and specify the appropriate language.
Example:
```luau
-- Client-side script
function sayHello()
print("Hello, World!")
end
-- Call the function
sayHello()
```
Specify the language for syntax highlighting (e.g., bash, luau, typescript, json).
Use proper indentation and consistent spacing (avoid mixing tabs and spaces).
Add brief context or explanation before/after the code when needed.
On modding API pages, pair each example with a tabbed fence:
Skip the second language only for Luau-only or TypeScript-only topics (e.g. luau.md, typescript.md, HLSL).
Tone and Voice#
This guide aims to keep docs clear, consistent, and easy to follow for all users, especially beginners.
Audience: Write with the assumption that the reader is a developer working within the Courage Reborn ecosystem. Keep explanations professional, technical, and accurate.
Consistency: Ensure consistent terminology and formatting across all documentation. This helps maintain a uniform tone and clarity.
Imperative Tone: Use the imperative mood (e.g., "Install the dependencies") rather than passive (e.g., "The dependencies should be installed").
Grammar and Spelling#
Spell Check: Please ensure that your contributions are free of typos and grammatical errors.
Consistency in Spelling: Choose American English spelling (e.g., "color" instead of "colour").
Punctuation: Ensure proper punctuation in all documentation. This includes commas, periods, and other punctuation marks at the end of sentences.
Images and Diagrams#
You can upload images and diagrams to the /static/ directory. To include them in your documentation, use the following Markdown syntax:

In , the "Alt Text" is the alt text.
This is a short description of the image that is displayed if the image can't be shown. Replace "Alt Text" with a brief description relevant to the image (e.g., "Server Console Output" or "Example Vehicle Spawn Menu").
Image Format#
- Use .webp for images whenever possible for optimal performance.
- If WebP is not feasible, use .png as an alternative.
- For short animations, use .gif.
Ensure all screenshots and visuals are clear, cropped, and properly labeled.
File Naming#
For Guides and Articles:
- Use lowercase letters only.
- Use hyphens (-) to separate words.
- Use file extensions like .png or .webp.
Examples:
install-guide.png
how-to-mod-vehicles.webp
This style is case-sensitive - always use lowercase with exceptions below.
For Game References (e.g., ped models, vehicles, weapons):
- Use the exact name of the in-game entry.
- Maintain original casing, including uppercase letters, underscores, or numbers.
- Do not change to lowercase or add hyphens.
Image Placement: Place images and diagrams within the body of the text where they are referenced.
Use Markdown syntax to display images:
Example:

Usage of AI#
The use of AI tools is permitted strictly for spelling, grammar, and clarity improvements. Full content generation, including writing complete articles or guides using AI, is not allowed.
Additional Resources#
Documentation repository
Courage Reborn repository
Markdown Guide
GitHub Editing files
Thank you for contributing! ❤️