Contribute DocumentationΒΆ
Thunder Engine documentation is an open project, and we welcome community contributions. This section contains guides on contributing to the documentation, style guidelines, and the review process.
Contents
OverviewΒΆ
Thunder Engine documentation is written in reStructuredText (RST) format and built using Sphinx. All documentation files are located in the thunder-engine/thunder-doc repository.
Ways to ContributeΒΆ
You can contribute in several ways:
Fix typos and errors β the easiest way to help
Expand existing sections β add examples, clarify descriptions
Create new documentation β for missing features or components
Translations β help with translating to other languages
Reviews β review pull requests from other contributors
Getting StartedΒΆ
Clone the repository
git clone https://github.com/thunder-engine/thunder-doc.git cd thunder-doc
Install build tools
pip install sphinx sphinx-rtd-theme m2r2
Build the documentation locally
make html # Or on Windows .\make.bat html
The build result will be in the
_build/html/folder. Openindex.htmlin your browser to view it.Create a branch for your changes
git checkout -b docs/my-improvements
Make changes and submit a pull request
git add . git commit -m "docs: description of your changes" git push origin docs/my-improvements
Documentation StructureΒΆ
The documentation is organized in the following structure:
thunder-doc/
βββ make.bat
βββ Makefile
βββ requirements.txt
βββ locales/ # Translations (gettext)
βββ _build/ # Generated output (ignored)
βββ source/ # Sphinx sources and content
βββ index.rst # Main page
βββ conf.py # Sphinx configuration
βββ _static/ # Static assets for Sphinx
βββ audio/ # Audio section
βββ basics/ # Engine basics (Getting Started)
βββ editor/ # Editor & tooling docs
βββ involved/ # Contribution & process (this folder)
β βββ index.rst
β βββ documentation_guide.rst
β βββ style_guide.rst
β βββ review_process.rst
βββ rendering/ # Rendering docs
βββ scripting/ # Scripting docs
Files and Their PurposeΒΆ
File |
Purpose |
|---|---|
|
Section entry point, contains toctree and general description |
|
Documentation in reStructuredText format |
|
Sphinx settings (theme, extensions, paths) |
|
Images, CSS, JavaScript files |
|
Generated HTML documentation (in .gitignore) |
The following pages contain detailed guides:
Documentation Writing Guide β how to write and format documentation
Documentation Style Guide β text and code style guidelines
Documentation Review Process β pull request review process