Skip to content

Commit 7f86e39

Browse files
docs
1 parent cad1719 commit 7f86e39

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ $ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
3131
```
3232

3333
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
34-

docs/docusaurus.config.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = {
4646
},
4747
{
4848
title: "Community",
49-
items: [
49+
items: [
5050
{
5151
label: "Twitter",
5252
href: "https://twitter.com/openubl",
@@ -65,6 +65,12 @@ module.exports = {
6565
],
6666
copyright: `Copyright © ${new Date().getFullYear()} Project OpenUBL, Inc.`,
6767
},
68+
googleAnalytics: {
69+
trackingID: "UA-152706512-4",
70+
},
71+
gtag: {
72+
trackingID: 'UA-152706512-4',
73+
},
6874
},
6975
stylesheets: [
7076
"https://fonts.googleapis.com/css2?family=Red+Hat+Text&display=swap",
@@ -94,4 +100,16 @@ module.exports = {
94100
},
95101
],
96102
],
103+
plugins: [
104+
"@docusaurus/plugin-google-analytics",
105+
"@docusaurus/plugin-google-gtag",
106+
[
107+
"@docusaurus/plugin-sitemap",
108+
{
109+
cacheTime: 600 * 1000, // 600 sec - cache purge period
110+
changefreq: "weekly",
111+
priority: 0.5,
112+
},
113+
],
114+
],
97115
};

0 commit comments

Comments
 (0)