Skip to content

Commit

Permalink
Upgrade documentation (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinejaussoin committed Apr 28, 2022
1 parent 5abfe22 commit d849635
Show file tree
Hide file tree
Showing 6 changed files with 1,546 additions and 1,611 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Alpha Build'

on:
push:
branches: [v4160/more-integration-tests]
branches: [v4160/docs]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/self-hosting/quick-start/RunDetails.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link } from '@docusaurus/router';
import Link from '@docusaurus/Link';
import React from 'react';
import Admonition from './Admonition';

Expand Down
13 changes: 7 additions & 6 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
gtag: {
// You can also use your "G-" Measurement ID here.
trackingID: 'G-60PPD8ZVHL',
// Optional fields.
anonymizeIP: false, // Should IPs be anonymized?
},
}),
],
],
Expand Down Expand Up @@ -110,12 +116,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
gtag: {
// You can also use your "G-" Measurement ID here.
trackingID: 'G-60PPD8ZVHL',
// Optional fields.
anonymizeIP: false, // Should IPs be anonymized?
},

}),
}
);
32 changes: 11 additions & 21 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,31 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "2.0.0-beta.14",
"@docusaurus/preset-classic": "2.0.0-beta.14",
"@mdx-js/react": "1.6.22",
"@svgr/webpack": "6.2.0",
"@docusaurus/core": "2.0.0-beta.18",
"@docusaurus/preset-classic": "2.0.0-beta.18",
"@svgr/webpack": "6.2.1",
"@types/random-words": "1.1.2",
"@types/react-copy-to-clipboard": "5.0.2",
"@types/react-syntax-highlighter": "13.5.2",
"@types/react-toggle": "4.0.3",
"clsx": "1.1.1",
"file-loader": "6.2.0",
"node-fetch": "2.6.7",
"prism-react-renderer": "1.2.1",
"prismjs": "1.27.0",
"query-string": "7.1.1",
"random-words": "1.1.2",
"react": "17.0.2",
"react-copy-to-clipboard": "5.0.4",
"react-dom": "17.0.2",
"react-syntax-highlighter": "15.4.5",
"react": "18.0.0",
"react-copy-to-clipboard": "5.1.0",
"react-dom": "18.0.0",
"react-syntax-highlighter": "15.5.0",
"react-toggle": "4.1.2",
"trim": "0.0.3",
"url-loader": "4.1.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-beta.14",
"@tsconfig/docusaurus": "1.0.4",
"@types/react": "17.0.39",
"@docusaurus/module-type-aliases": "2.0.0-beta.18",
"@tsconfig/docusaurus": "1.0.5",
"@types/react": "18.0.6",
"@types/react-helmet": "6.1.5",
"@types/react-router-dom": "5.3.3",
"typescript": "4.6.2"
},
"resolutions": {
"node-fetch": "2.6.7",
"prismjs": "1.27.0",
"trim": "0.0.3"
"typescript": "4.6.3"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/HomepageFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import React from 'react';
import clsx from 'clsx';
import styles from './HomepageFeatures.module.css';
import { Link } from '@docusaurus/router';
import Link from '@docusaurus/Link';

type FeatureItem = {
title: string;
Expand Down
Loading

0 comments on commit d849635

Please sign in to comment.