From d65c649c9404bd7c3bc7e2ef7a0207f56797be0b Mon Sep 17 00:00:00 2001 From: Elton Goh Jun Hao <75515229+EltonGohJH@users.noreply.github.com> Date: Thu, 2 May 2024 21:55:10 +0800 Subject: [PATCH] Update UG and DG site json file to include new plugins (#2546) --- 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,