mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-25 15:07:17 +02:00
feat(content-docs): allow custom props through _category_.json (#6780)
* feat(content-docs): allow custom props through _category_.json * refactor * documentation Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
b2d6e453e3
commit
2e163a9ec4
5 changed files with 18 additions and 1 deletions
|
@ -338,6 +338,9 @@ This is the easy tutorial!
|
|||
"link": {
|
||||
"type": "generated-index",
|
||||
"title": "Tutorial overview"
|
||||
},
|
||||
"customProps": {
|
||||
"description": "This description can be used in the swizzled DocCard"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -354,6 +357,8 @@ className: red
|
|||
link:
|
||||
type: generated-index
|
||||
title: Tutorial overview
|
||||
customProps:
|
||||
description: This description can be used in the swizzled DocCard
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue