Contributing
This guide explains how to contribute to the TCAT Wiki.
Note that, while minor external contributions are welcome, this guide is primarily intended for use by TCAT/GS staff.
For a list of all guides on the TCAT Wiki, refer to the Guides List.
Version Control & Workflow
This project follows standardized version control conventions:
Semantic Versioning
The TCAT Wiki uses Semantic Versioning (MAJOR.MINOR.PATCH):
- Major (X.0.0):
- Core: New major features or upgrades
- Docs: Changes to structure/navigation that break external links
- Minor (0.X.0):
- Core: Significant changes to core features
- Docs: New documentation or major reworks
- Patch (0.0.X):
- Core: Minor fixes, fixing typos, completing chores
- Docs: Small updates, fixing typos, adding images
The version number is stored in the version field in mkdocs.yml.
Conventional Commits
Commits follow Conventional Commits with scoping:
feat(scope): description- Core features or Docs contentfix(scope): description- Core patches or Docs corrections
Examples:
feat(core-plugins): add abbreviations plugin
feat(docs-accessmap): add user manual page
fix(core-util): fix nav generator logic
fix(docs-walksheds): fix typo
Branch Naming
Follow GitHub flow with structured branch names:
Format: type/scope/<work-item-number>-short-description
Examples:
feat/core-plugins/1234-add-abbreviations-plugin
feat/docs-accessmap/1024-add-user-manual-page
fix/core-util/9876-fix-nav-generator-logic
fix/docs-walksheds/2048-fix-typo
Pull Request & Release Process
- Create a feature branch following the naming convention
- Make commits using conventional commit format
- Open a pull request to
main - Upon merge to
main, releases are automated
Getting Started (Windows 10/11)
This section of the guide explains how to set up a Windows environment for contributing to the TCAT Wiki for the first time.
Legend
-
Keyboard shortcut to press | Action
(
Shift+C) | Copy -
Command to enter into terminal
[
someCommand --arguments \<path>]
Installation and Setup
-
Install Visual Studio Code
-
Install VS Code Extensions
-
-
Clone the repository
-
Install Python
-
Set up Python virtual environment
-
Create the virtual environment
-
Activate the virtual environment
-
Install dependencies
-
-
(Optional) Install image processing dependencies for image optimization
Only needed if you plan to optimize or process images in the documentation.
-
Install MSYS2
-
In UCRT64 terminal:
-
Install cairo:
-
Install pngquant:
-
-
Add to PATH:
C:\msys64\ucrt64\bin(Restart your terminal or system for PATH changes to take effect)
-
-
Editing Instructions
Refer to the documentation for Material for MkDocs and the MkDocs User Guide.
Guide Files
By default, guides appear in both their parent page's guides section and in the main guides list. You can control this using frontmatter flags (YAML comments, invisible on the built page).
To exclude a guide from its parent's guides section:
To exclude a guide from the main guides list:
Both flags can be used together to exclude a guide from all guides lists.
Images
Where possible, follow these guidelines for images:
-
Format: 24-bit
.png -
Resizing: Scale images using
{ width="123" }:
Refer to Material for MkDocs: Images and Material for MkDocs: Attribute Lists for more information.
Screenshots
For creating screenshots with a consistent style, Firefox DevTools is to be used.
-
Open Firefox DevTools
(
F12) -
Open Responsive Design View
(
Ctrl+Shift+M) -
Add custom device profiles:
-
Name:
[Screenshot] Web - Portrait-
Size:
671x1196 -
Device Pixel Ratio:
1 -
User Agent String:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
-
-
Name:
[Screenshot] Web - Landscape-
Size:
1196x671 -
Device Pixel Ratio:
1 -
User Agent String:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
-
-
-
Resulting screenshots will fit exactly within the 2px outside border present in the following screenshot templates:
-
It is recommended to remove all embedded metadata, such as with the use of ExifToolGUI.
Image Annotations
For creating image annotations with a consistent style, follow these guidelines.
-
Highlight box
-
Use: Indicating an area of focus in an image.
-
Style
-
Padding:
2pxdistance from highlighted selection -
Outline
-
Width:
1px -
Color:
#4B2E83("Husky "Purple")
-
-
Fill
-
Color:
#FFC700("Spirit Gold") -
Opacity:
0.25
-
-
-
Example:

-
Naming convention: For images with highlights, append
-h-$highlightedFeature- Example:
login.png→login-h-forgot-password.png
- Example:
-
QR Codes
- Create QR codes using Project Nayuki's QR Code generator library.