Skip to content

Commit

Permalink
add config for directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Sep 13, 2022
1 parent b9d3006 commit 59e6cb1
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,34 @@ title: An Important Entry
Content
```

## Filenames
## Entry Config

Use Kebab case for filenames
|||
| :------------------: |:--------------------:|
| `an_important_entry` | `an-important-entry` |
```yaml
---
title: string
weight: number
---
```

#### `title`

A pretty title that will be displayed to the user.

Ignore for directories for now
#### `weight`

Entries and files 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)
1 change: 1 addition & 0 deletions amethyst/.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Amethyst
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions malachite/.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
title: Malachite
File renamed without changes.
File renamed without changes.

0 comments on commit 59e6cb1

Please sign in to comment.