From 5e7b79c9f429206680f32e07809292b67619b312 Mon Sep 17 00:00:00 2001 From: EltonGohJH Date: Thu, 2 May 2024 21:16:53 +0800 Subject: [PATCH] Fix site json file for DG and UG --- docs/devGuide/development/writingPlugins.md | 4 ++++ docs/dg-site.json | 13 ++++++++++++- docs/ug-site.json | 9 ++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/devGuide/development/writingPlugins.md b/docs/devGuide/development/writingPlugins.md index f6ceaa9302..7af6a5f529 100644 --- a/docs/devGuide/development/writingPlugins.md +++ b/docs/devGuide/development/writingPlugins.md @@ -70,6 +70,10 @@ module.exports = { }, }; ``` + + +Remember to update `dg-site.json`, `site.json`, and `ug-site.json` in the docs folder when updating the requirements for `site.json`. + ```js // site.json diff --git a/docs/dg-site.json b/docs/dg-site.json index fde8337b54..b9a836e26e 100644 --- a/docs/dg-site.json +++ b/docs/dg-site.json @@ -27,11 +27,22 @@ ], "plugins" : [ "filterTags", - "codeBlockCopyButtons" + "mathDelimiters", + "codeBlockWrapButtons", + "web3Form", + "codeBlockCopyButtons", + "dataTable", + "mermaid" ], "pluginsContext" : { "filterTags" : { "tags": ["environment--dg"] + }, + "mathDelimiters": { + "delimiters": ["beg_end"] + }, + "web3Form": { + "accessKey": [""] } }, "deploy": { diff --git a/docs/ug-site.json b/docs/ug-site.json index 7954ca8dc2..41efd4cba8 100644 --- a/docs/ug-site.json +++ b/docs/ug-site.json @@ -21,7 +21,11 @@ "plugins" : [ "filterTags", "mathDelimiters", - "codeBlockCopyButtons" + "codeBlockWrapButtons", + "web3Form", + "codeBlockCopyButtons", + "dataTable", + "mermaid" ], "pluginsContext" : { "filterTags" : { @@ -29,6 +33,9 @@ }, "mathDelimiters": { "delimiters": ["beg_end"] + }, + "web3Form": { + "accessKey": [""] } }, "headingIndexingLevel": 6,