Skip to content

Commit 280423f

Browse files
authored
Documentation (#8583)
1 parent 20dc8e9 commit 280423f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/setup/adding-a-comment-system.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,17 @@ comments: true
106106
If you wish to enable comments for an entire folder, you can use the
107107
[built-in meta plugin].
108108

109+
For example, add a `.meta.yml` file to the folder where comments should be
110+
enabled:
111+
112+
``` yaml title=".meta.yml"
113+
comments: true
114+
```
115+
116+
This configuration is applied recursively to pages in that folder and its
117+
subfolders, as described in the meta plugin documentation. To disable comments
118+
for a specific page, set `comments: false` in that page's front matter.
119+
109120
[Giscus GitHub App]: https://github.com/apps/giscus
110121
[theme extension]: ../customization.md#extending-the-theme
111122
[comments]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/comments.html

0 commit comments

Comments
 (0)