Skip to content

Commit

Permalink
Merge branch 'master' into feat/rn75
Browse files Browse the repository at this point in the history
  • Loading branch information
gosha212 authored Dec 4, 2024
2 parents 0fde209 + c731d88 commit c582d51
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
22 changes: 16 additions & 6 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,29 @@ const config = {
favicon: '/img/favicon.ico',
organizationName: 'wix',
projectName: 'Detox',
plugins: ['docusaurus-plugin-sass'],

plugins: ['docusaurus-plugin-sass',
['@docusaurus/plugin-client-redirects',
{
redirects: [
{
from: '/docs',
to: '/docs/next/introduction/getting-started',
}
]
}
]
],
presets: [
[
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
gtag: {
trackingID: 'G-2Z5WTH61Y3',
anonymizeIP: true,
anonymizeIP: true
},
googleTagManager: {
containerId: 'GTM-M58K66V8',
containerId: 'GTM-M58K66V8'
},
blog: {
path: 'blog',
Expand All @@ -40,7 +50,7 @@ const config = {
authorsMapPath: 'authors.yml',
blogTitle: 'Blog',
blogDescription:
"All the important updates and announcements from Detox crew, tips and tricks and everything else that you don't want to miss.",
'All the important updates and announcements from Detox crew, tips and tricks and everything else that you don\'t want to miss.',
blogSidebarCount: 5,
blogSidebarTitle: 'All our posts',
routeBasePath: 'blog',
Expand Down Expand Up @@ -68,7 +78,7 @@ const config = {
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: 'Detox',
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/plugin-client-redirects": "^2.4.3",
"@docusaurus/plugin-google-gtag": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"@docusaurus/remark-plugin-npm2yarn": "^2.3.1",
Expand Down

0 comments on commit c582d51

Please sign in to comment.