Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-gai authored Dec 2, 2021
1 parent 75bf2e1 commit 7e50dd8
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,13 @@ These options should go in your repository's `.github/announcement-drafter.yml`
| `watch_folders` | A list of what folders (relative paths) `announcement-drafter` should watch when new pull requests are open<br/>&nbsp;&nbsp;1. It is recommened to include the final `/` in the path<br/>&nbsp;&nbsp;2. `announcement-drafter` will also watch all subfolders unless you ignore them in `ignore_folders` | Yes | [See demo config][announcement-drafter demo config] |
| `ignore_folders` | A list of what folders (relative paths) `announcement-drafter` should _ignore_ when new pull requests are open | No | [See demo config][announcement-drafter demo config] |

<details>
<summary>Example announcement-drafter.yml</summary>
Example announcement-drafter.yml:

```markdown
```yml
watch_folders:
- docs/team-posts/
```

</details>

### Discussion Markdown

`announcement-drafter` needs to know certain information such as what repository or team to create the discussion in, and what the discussion category should be. This information should be provided in YAML metadata at the top of your markdown file.
Expand All @@ -79,8 +76,7 @@ watch_folders:

See the [demo repository](https://github.com/philip-gai/announcement-drafter-demo/blob/main/docs/demo/hello-world.md?plain=1) for more.

<details>
<summary>Draft a Repository Discussion</summary>
##### Draft a Repository Discussion

```markdown
<!--
Expand All @@ -95,10 +91,7 @@ Hello beautiful world! 🌎
```

</details>

<details>
<summary>Draft a Team Post</summary>
##### Draft a Team Post

```markdown
<!--
Expand All @@ -112,8 +105,6 @@ Hello beautiful world! 🌎
```

</details>

#### Metadata

| Name | Description | Required | Example |
Expand Down

0 comments on commit 7e50dd8

Please sign in to comment.