Skip to content

Commit

Permalink
Upgrade Docusaurus (and plugins) to 2.0.0-beta.15 (#444)
Browse files Browse the repository at this point in the history
* Upgrade Docusaurus (and plugins) to 2.0.0-beta.15

* Move gtag config out of themeConfig and into preset-classic config

Per: facebook/docusaurus#5832
  • Loading branch information
pabloest authored Feb 18, 2022
1 parent 3b2bfef commit 17964f2
Show file tree
Hide file tree
Showing 3 changed files with 2,056 additions and 1,859 deletions.
8 changes: 4 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ module.exports = {
facetFilters: [],
//... other Algolia params
},
gtag: {
// You can also use your "G-" Measurement ID here.
trackingID: 'G-1851JH9FSR',
},
image: 'https://semgrep.dev/thumbnail.png'
},
scripts: [
Expand All @@ -153,6 +149,10 @@ module.exports = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
// You can also use your "G-" Measurement ID here.
trackingID: 'G-1851JH9FSR',
},
},
],
[
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.7",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.7",
"@docusaurus/preset-classic": "^2.0.0-beta.7",
"@docusaurus/theme-search-algolia": "^2.0.0-beta.7",
"@docusaurus/core": "^2.0.0-beta.15",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.15",
"@docusaurus/preset-classic": "^2.0.0-beta.15",
"@docusaurus/theme-search-algolia": "^2.0.0-beta.15",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"clsx": "^1.1.1",
Expand Down
Loading

0 comments on commit 17964f2

Please sign in to comment.