Skip to content

Commit

Permalink
Merge pull request #42 from theam/add_fathom
Browse files Browse the repository at this point in the history
add fathom analytics
  • Loading branch information
juanjoman authored Jul 31, 2023
2 parents c6326bd + e21d187 commit dc76014
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ const config = {
}),
],
],


plugins: [require.resolve('docusaurus-plugin-fathom')],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand All @@ -60,6 +59,9 @@ const config = {
stylesheets: [
"https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap",
],
fathomAnalytics: {
siteId: 'HUKFMRPY',
},
navbar: {
logo: {
alt: 'eLLMental Logo',
Expand Down
9 changes: 9 additions & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"docusaurus-plugin-fathom": "^1.1.0",
"@graphglue/dokka-docusaurus": "^1.0.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
Expand Down

0 comments on commit dc76014

Please sign in to comment.