Contributing
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 zensical.toml.
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
git clone https://github.com/TaskarCenterAtUW/tcat-wiki cd tcat-wiki -
Install Python
-
Set up Python virtual environment
-
Create the virtual environment
python3 -m venv .venv -
Activate the virtual environment
.\.venv\Scripts\Activate.ps1
-
-
Install requirements
pip install -r requirements.txt
Editing Instructions⚓︎
Refer to the documentation for Zensical.
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:
---
title: Your Guide Title
tags:
- Guide
# exclude-from-parent-guides-list
---
To exclude a guide from the main guides list:
---
title: Your Guide Title
tags:
- Guide
# exclude-from-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" }:{ width="300" }
Refer to Zensical: Images 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:140.0) Gecko/20100101 Firefox/140.0
-
-
Name:
[Screenshot] Web - Landscape-
Size:
1196x671 -
Device Pixel Ratio:
1 -
User Agent String:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.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.
Markdown Guide⚓︎
Headers⚓︎
# H1 Header
## H2 Header
### H3 Header
#### H4 Header
##### H5 Header
###### H6 Header
Text formatting⚓︎
**bold text**
*italic text*
***bold and italic***
~~strikethrough~~
`inline code`
Links and images⚓︎
[Link text](https://example.com)
[Link with title](https://example.com "Hover title")


Lists⚓︎
Unordered:
- Item 1
- Item 2
- Nested item
Ordered:
1. First item
2. Second item
3. Third item
Blockquotes⚓︎
> This is a blockquote
> Multiple lines
>> Nested quote
Code blocks⚓︎
```javascript
function hello() {
console.log("Hello, world!");
}
```
Tables⚓︎
| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Row 1 | Data | Data |
| Row 2 | Data | Data |
Horizontal rule⚓︎
---
or
***
or
___
Task lists⚓︎
- [x] Completed task
- [ ] Incomplete task
- [ ] Another task
Escaping characters⚓︎
Use backslash to escape: \* \_ \# \`
Line breaks⚓︎
End a line with two spaces
to create a line break.
Or use a blank line for a new paragraph.