Skip to content

Commit

Permalink
[Docs]: add tags for better searching
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyManetov committed Dec 18, 2024
1 parent 76d78bd commit 43aee5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion app/src/documents/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const items: DocItem[] = [

{ id: 'themes', name: 'Themes' },
{ id: 'overview-themes', name: 'Overview', component: ThemingOverview, parentId: 'themes' },
{ id: 'tokens', name: 'Tokens', component: Tokens, parentId: 'themes' },
{ id: 'tokens', name: 'Tokens', component: Tokens, parentId: 'themes', tags: ['colors', 'variables'] },

{ id: 'testing', name: 'Testing' },
{ id: 'testing-basics', name: 'Basics', component: UtGuideBasicsDoc, parentId: 'testing' },
Expand Down
22 changes: 6 additions & 16 deletions public/docs/content/examples-modals-ModalWithForm.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
{
"object": "value",
"document": {
"object": "document",
[
{
"type": "paragraph",
"data": {},
"nodes": [
"children": [
{
"object": "block",
"type": "paragraph",
"data": {},
"nodes": [
{
"object": "text",
"text": "An example of a form within a modal.",
"marks": []
}
]
"text": "An example of a form within a modal."
}
]
}
}
]

0 comments on commit 43aee5f

Please sign in to comment.