You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
819 B
Markdown
58 lines
819 B
Markdown
# Contributing
|
|
|
|
## Entries
|
|
|
|
Start every new entry with
|
|
|
|
```markdown
|
|
---
|
|
title: An Important Entry ✅
|
|
---
|
|
|
|
Content
|
|
```
|
|
|
|
NOT
|
|
|
|
```markdown
|
|
---
|
|
title: An Important Entry
|
|
---
|
|
|
|
# An Important Entry ❌
|
|
|
|
Content
|
|
```
|
|
|
|
## Entry Config
|
|
|
|
```markdown
|
|
---
|
|
title: string
|
|
weight: number
|
|
---
|
|
```
|
|
|
|
#### `title`
|
|
|
|
A pretty title that will be displayed to the user.
|
|
|
|
#### `weight`
|
|
|
|
Entries and directories are sorted by their weights. Higher number = Higher up.
|
|
|
|
## File and directory names
|
|
|
|
Use Kebab case for filenames
|
|
| ❌ | ✅ |
|
|
| - | - |
|
|
| `an_important_entry.mdx`, `An Important Entry.mdx` | `an-important-entry.mdx` |
|
|
|
|
## Directories
|
|
|
|
Do not create directories any deeper than 1. Only top level directories for different projects.
|
|
|
|
### `.config.yaml`
|
|
|
|
Create a .config.yaml for every directory. See [Entry Config](#entry-config)
|