Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump docusaurus to v2.0.0-beta.3 #951

Merged
merged 3 commits into from
Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
command = "yarn build"
publish = "public/"

[build.environment]
NODE_VERSION = "12"

[dev]
command = "yarn start"
publish = "public/"
Expand Down
5 changes: 5 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
versions: {
current: {
banner: "none",
},
}
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"serve": "docusaurus serve"
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.69",
"@docusaurus/preset-classic": "2.0.0-alpha.69",
"@docusaurus/core": "2.0.0-beta.3",
"@docusaurus/preset-classic": "2.0.0-beta.3",
"@mdx-js/react": "^1.5.8",
"clsx": "^1.1.1",
"email-validator": "^2.0.4",
Expand Down
14 changes: 10 additions & 4 deletions website/src/components/subscribe-form.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
text-align: right;
}

/* prettier-ignore */
.subscribe-form--title__highlight {
background-image: url(/bigtest/images/decor-sphere-all-focused2x.png), url(/bigtest/images/decor-sphere-all-focused2x.png), url(/bigtest/images/decor-shadow-duo2x.png);
background-image:
/* webpackIgnore: true */ url(/bigtest/images/decor-sphere-all-focused2x.png),
/* webpackIgnore: true */ url(/bigtest/images/decor-sphere-all-focused2x.png),
/* webpackIgnore: true */ url(/bigtest/images/decor-shadow-duo2x.png);
background-position: 0% 65%, 100% 0%, 50% 90%;
background-size: 24px, 43px, 100%;
background-repeat: no-repeat, no-repeat, no-repeat;
Expand All @@ -40,7 +44,8 @@
margin-left: 10px;
}

.subscribe-form--inputs > p + div, .subscribe-form--inputs > input {
.subscribe-form--inputs > p + div,
.subscribe-form--inputs > input {
margin-right: 10px;
min-width: 400px;
max-width: 100%;
Expand Down Expand Up @@ -77,7 +82,7 @@
padding: 0;
margin: 20px 0;
}
.subscribe-form__embedded > .subscribe-form--inputs {
.subscribe-form__embedded > .subscribe-form--inputs {
padding-left: 0;
}

Expand Down Expand Up @@ -112,7 +117,8 @@
.subscribe-form--inputs {
padding-left: 0;
}
.subscribe-form--inputs > p + div, .subscribe-form--inputs > input {
.subscribe-form--inputs > p + div,
.subscribe-form--inputs > input {
min-width: 100%;
}
.subscribe-form--inputs button {
Expand Down
39 changes: 20 additions & 19 deletions website/src/pages/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

.pinkEmphasis {
font-style: normal;
color: var(--fs-pink)
color: var(--fs-pink);
}

@media screen and (max-width: 997px) {
Expand All @@ -47,7 +47,7 @@
box-sizing: border-box;
padding-top: 40px;
padding-bottom: 40px;
background-image: url(/bigtest/images/decor-color-blur-100-p-1080.jpeg);
background-image: /* webpackIgnore: true */ url(/bigtest/images/decor-color-blur-100-p-1080.jpeg);
background-position: 100% 50%;
background-size: 53%;
background-repeat: no-repeat;
Expand Down Expand Up @@ -89,7 +89,7 @@
font-weight: 700;
display: inline-block;
padding-bottom: 10px;
background-image: url(/bigtest/images/decor-button-twist2x.png),
background-image: /* webpackIgnore: true */ url(/bigtest/images/decor-button-twist2x.png),
linear-gradient(90deg, #26abe8, #f74d7b);
background-position: -15px -15px, 0px 0px;
background-size: 317px, auto;
Expand Down Expand Up @@ -163,28 +163,28 @@
background: #091a35;
border-radius: 10px;
animation-name: iframeLoading;
animation-duration: 1s;
animation-iteration-count: 1;
animation-direction: alternate;
animation-timing-function: linear;
animation-duration: 1s;
animation-iteration-count: 1;
animation-direction: alternate;
animation-timing-function: linear;
}

@keyframes iframeLoading {
0% {
background: #091a35;
}
50% {
background: #153a75;
background: #091a35;
}
50% {
background: #153a75;
}
100% {
background: #040e1f;
}

background: #040e1f;
}
}

.heroCrossRunnerIframe {
text-align: center;
background: url(/bigtest/images/iframe-bg.svg) no-repeat center top;
background: /* webpackIgnore: true */ url(/bigtest/images/iframe-bg.svg)
no-repeat center top;
background-size: contain;
padding-top: 60px;
}
Expand All @@ -197,9 +197,10 @@

.interactorsHeroBackground {
box-sizing: border-box;
background:
url(/bigtest/images/decor-interactor-bottom.png) no-repeat left bottom,
url(/bigtest/images/decor-interactor-top.png) no-repeat right top;
background: /* webpackIgnore: true */ url(/bigtest/images/decor-interactor-bottom.png)
no-repeat left bottom,
/* webpackIgnore: true */ url(/bigtest/images/decor-interactor-top.png)
no-repeat right top;
background-size: 300px, 100px;
position: absolute;
height: auto;
Expand All @@ -212,7 +213,7 @@
max-width: 780px;
margin: 0 auto -40px auto;
padding: 80px 33px;
background-image: url(/bigtest/images/decor-subtler-background.svg);
background-image: /* webpackIgnore: true */ url(/bigtest/images/decor-subtler-background.svg);
background-position: center center;
background-size: contain;
background-repeat: no-repeat;
Expand Down
6 changes: 3 additions & 3 deletions website/src/theme/DocItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Head from '@docusaurus/Head';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import useBaseUrl from '@docusaurus/useBaseUrl';
import DocPaginator from '@theme/DocPaginator';
import DocVersionSuggestions from '@theme/DocVersionSuggestions';
import DocVersionBanner from '@theme/DocVersionBanner';
import TOC from '@theme/TOC';
import clsx from 'clsx';
import styles from './styles.module.css';
Expand All @@ -29,7 +29,7 @@ import {
function DocItem(props) {
const {siteConfig} = useDocusaurusContext();
const {url: siteUrl, title: siteTitle, titleDelimiter} = siteConfig;
const {content: DocContent} = props;
const {content: DocContent, versionMetadata} = props;
const {metadata} = DocContent;
const {
description,
Expand Down Expand Up @@ -88,7 +88,7 @@ function DocItem(props) {
className={clsx('col', {
[styles.docItemCol]: !hideTableOfContents,
})}>
<DocVersionSuggestions />
<DocVersionBanner versionMetadata={versionMetadata} />
<div className={styles.docItemContainer}>
<article>
{showVersionBadge && (
Expand Down
Loading