The cards data are stored in the _data/guides.yml file.
Each tutorial entry can have the following fields:
| Field | Mandatory | Description | Type / Format |
|---|---|---|---|
id |
No | A unique identifier for the tutorial. | String |
title |
Yes | The title of the tutorial. | String |
description |
No | A brief description of the tutorial. Note: Markdown is supported when rendering this field in the web interface. |
String |
url |
Yes | The URL of the tutorial. | String (URL) |
technique |
No | The technique(s) covered in the tutorial. | String or Array of Strings |
tool |
No | The tool(s) used in the tutorial. | String or Array of Strings |
dataFormat |
No | The data format(s) used in the tutorial. | String or Array of Strings |
type |
No | The type(s) of the tutorial. | String or Array of Strings |
series |
No | The series associated with the tutorial. If none is set, then the series field will be blank. | String or Array of Strings |
date |
No | The publication date of the tutorial. Must be in YYYY-MM-DD format | String (YYYY-MM-DD) |
For fields that can accept multiple values (i.e., "String or Array of Strings"), you can provide either a single string or an array of strings. For example:
technique: "Data Analysis"or
technique:
- "Data Analysis"If you want to specify multiple values, use an array format like this:
technique:
- "Data Analysis"
- "Visualization"Follow these best practices when making updates to the _data/guides.yml file:
- Create a new branch for your changes:
git checkout -b update-guides- Make your changes to the
_data/guides.ymlfile using the text editor of your choice. - Validate the YAML syntax to ensure there are no errors.
- Commit your changes with a descriptive message, following conventional commit guidelines:
git add _data/guides.yml
git commit -m "feat: updated guides.yml with new tutorial on XYZ"- Push your branch to the remote repository:
git push origin update-guides- Create a pull request on Github for review and merging.