diff --git a/misc/docusaurus/.gitignore b/misc/docusaurus/.gitignore index b2d6de30624..9e2bac49798 100644 --- a/misc/docusaurus/.gitignore +++ b/misc/docusaurus/.gitignore @@ -18,3 +18,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +.yarn \ No newline at end of file diff --git a/misc/docusaurus/.yarnrc.yml b/misc/docusaurus/.yarnrc.yml new file mode 100644 index 00000000000..3186f3f0795 --- /dev/null +++ b/misc/docusaurus/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/misc/docusaurus/docusaurus.config.js b/misc/docusaurus/docusaurus.config.js index e0b724e19ba..5fdbbacf98c 100644 --- a/misc/docusaurus/docusaurus.config.js +++ b/misc/docusaurus/docusaurus.config.js @@ -22,6 +22,15 @@ const config = { locales: ["en"], }, + scripts: [ + { + // 100% privacy-first analytics + src: "https://sa.gno.services/latest.js", + async: true, + defer: true, + } + ], + presets: [ [ "classic",