Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 970628d

Browse files
authored
fix: docs website failed to build (pinterest#981)
1 parent b8a3eb5 commit 970628d

File tree

4 files changed

+187
-201
lines changed

4 files changed

+187
-201
lines changed

docs_website/docusaurus.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ module.exports = {
5555
label: 'GitHub',
5656
},
5757
{
58-
to:
59-
'https://join.slack.com/t/querybook/shared_invite/zt-se82lvld-yyzRIqvIASsyYozk7jMCYQ',
58+
to: 'https://join.slack.com/t/querybook/shared_invite/zt-se82lvld-yyzRIqvIASsyYozk7jMCYQ',
6059
position: 'left',
6160
label: 'Slack',
6261
},
@@ -92,8 +91,7 @@ module.exports = {
9291
},
9392
{
9493
label: 'Slack',
95-
href:
96-
'https://join.slack.com/t/querybook/shared_invite/zt-se82lvld-yyzRIqvIASsyYozk7jMCYQ',
94+
href: 'https://join.slack.com/t/querybook/shared_invite/zt-se82lvld-yyzRIqvIASsyYozk7jMCYQ',
9795
},
9896
],
9997
},
@@ -112,6 +110,7 @@ module.exports = {
112110
algolia: {
113111
apiKey: 'fdaa985607f0df46d22edf5e6e01778c',
114112
indexName: 'querybook',
113+
appId: 'BH4D9OD16A',
115114
},
116115
},
117116
};

docs_website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
},
1515
"devDependencies": {},
1616
"dependencies": {
17-
"@docusaurus/core": "2.0.0",
18-
"@docusaurus/preset-classic": "2.0.0",
17+
"@docusaurus/core": "^2.0.1",
18+
"@docusaurus/preset-classic": "^2.0.1",
1919
"body-scroll-lock": "^3.1.5",
2020
"clsx": "^1.1.1",
2121
"docusaurus-plugin-sass": "^0.2.2",
2222
"react": "^17.0.2",
2323
"react-dom": "^17.0.2",
24-
"sass": "^1.49.7"
24+
"sass": "^1.54.5"
2525
}
2626
}

docs_website/src/components/HomePage/AnnouncementSection/index.jsx

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1-
import * as ReactDOM from 'react-dom';
21
import React from 'react';
3-
import Link from '@docusaurus/Link';
2+
import * as ReactDOM from 'react-dom';
3+
44
import './index.scss';
55

66
const ANNOUNCEMENT_DIV_ID = '__announcement_root';
77

8-
const AnnouncementBanner = () => (
9-
<div className="AnnouncementSection">
10-
<p>
11-
🚀 March 30 2021 update: We just <b>open sourced Querybook</b> and
12-
published our first{' '}
13-
<b>
14-
<Link to="https://medium.com/@Pinterest_Engineering/open-sourcing-querybook-pinterests-collaborative-big-data-hub-ba2605558883">
15-
blog post
16-
</Link>
17-
</b>{' '}
18-
🚀
19-
</p>
20-
</div>
21-
);
8+
const AnnouncementBanner = () => null;
229

2310
export default () => {
2411
const [announcementRoot, setAnnouncementRoot] = React.useState(null);

0 commit comments

Comments
 (0)