Skip to content

Contributing to Documentation

The documentation is written in Markdown, where its syntax can be found here: Markdown Guide. The documentation is structured in a way that each section is a separate Markdown file, which can be found in the src/content/docs directory. The different sub-team documentations can be found in their respective directories. Each file should have a blurb at the top, which is used to generate the sidebar and the page title.

To contribute to the documentation, you can follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the src/content/docs directory.
  3. Create a new branch for your changes.
  4. Create or edit the Markdown files as needed.
  • Note, when creating a new file, make sure to include the blurb at the top of the file.
---
title: [Title here without brackets]
description: [Description here without brackets]
---

We use draw.io to create our digrams.

  1. Exporting the diagram from draw.io
    • File -> Export as -> PNG
    • Zoom 300% (so it is not blurry)
    • Include copy of my diagram (ensures it is editable)
    • Modify other settings as needed

Export Settings

  1. Add the exported diagram into the public/diagrams directory. Use subdirectories as needed (the public directory ensures it is downloadable).
  2. Insert it into the documentation with ![Name](/diagrams/xyz.png) in the md files.
  1. Downloading the diagram
    • Right click the target diagram
    • Download the image
  2. Editing the Diagram in draw.io
    • File -> Open from… -> Device -> select the downloaded diagram
  3. Modify the diagram and export as shown above in Adding a new diagram Step 1
  4. Replace the old file