All documentation file are in Markdown (.md)
format.
These files are placed inside the src/pages/
directory.
The naming of the files must be in lowercase with -
between word; the only exception is acronyms.
Example: TDR-naming-example.md
The file must start with a front matter in YAML surrounded with two line of three consecutive dashes ---
. Inside this
section you must define three fields:
layout: ../layouts/Layout.astro
to correctly display the file in the websitetitle: Title example
to define the title of the pagedescription: Description example
to define the description of the page
After you can start writing the content using Markdown syntax.
It is good practice to structure the content with headings as they will be easily accessible in the page. Please don't
use the #
heading as it is reserved for the title of the page.
Example:
---
layout: ../layouts/Layout.astro
title: Title example
description: Description example
---
## Argument 1
Content 1
Content 1
Content 1
## Argument 2
Content 2
Content 2
Content 2
For more reference please watch the files present in the repository.
To add images to the documentation you must place them inside the src/assets/images/
directory.
Then you can reference them in the markdown file using the following syntax:
