From 815615853a8409ca3a6632e842e1f69f473c13c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20P=2E=20D=C3=BCrholt?= Date: Tue, 25 Jun 2024 22:17:19 -0400 Subject: [PATCH 1/3] add dtype to basic example --- website/pages/en/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/website/pages/en/index.js b/website/pages/en/index.js index 3b8661d78a..95b7c73028 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -19,8 +19,8 @@ const bash = (...args) => `~~~bash\n${String.raw(...args)}\n~~~`; class HomeSplash extends React.Component { render() { - const {siteConfig, language = ''} = this.props; - const {baseUrl, docsUrl} = siteConfig; + const { siteConfig, language = '' } = this.props; + const { baseUrl, docsUrl } = siteConfig; const docsPart = `${docsUrl ? `${docsUrl}/` : ''}`; const langPart = `${language ? `${language}/` : ''}`; const docUrl = doc => `${baseUrl}${docsPart}${langPart}${doc}`; @@ -79,8 +79,8 @@ class HomeSplash extends React.Component { class Index extends React.Component { render() { - const {config: siteConfig, language = ''} = this.props; - const {baseUrl} = siteConfig; + const { config: siteConfig, language = '' } = this.props; + const { baseUrl } = siteConfig; const Block = props => ( + style={{ textAlign: 'center' }}>

Get Started

    @@ -187,7 +187,7 @@ candidate # tensor([0.4887, 0.5063]) ); const Features = () => ( -
    +

    Key Features

    {[ @@ -221,7 +221,7 @@ candidate # tensor([0.4887, 0.5063])
    + style={{ textAlign: 'center' }}>

    References

    {papertitle} From c5f9226dc9e575d7ec7464a851d8358f00037be0 Mon Sep 17 00:00:00 2001 From: Elizabeth Santorella Date: Wed, 26 Jun 2024 09:23:16 -0400 Subject: [PATCH 2/3] revert js changes --- website/pages/en/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/pages/en/index.js b/website/pages/en/index.js index 95b7c73028..f4325d582e 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -19,8 +19,8 @@ const bash = (...args) => `~~~bash\n${String.raw(...args)}\n~~~`; class HomeSplash extends React.Component { render() { - const { siteConfig, language = '' } = this.props; - const { baseUrl, docsUrl } = siteConfig; + const {siteConfig, language = ''} = this.props; + const {baseUrl, docsUrl} = siteConfig; const docsPart = `${docsUrl ? `${docsUrl}/` : ''}`; const langPart = `${language ? `${language}/` : ''}`; const docUrl = doc => `${baseUrl}${docsPart}${langPart}${doc}`; @@ -79,8 +79,8 @@ class HomeSplash extends React.Component { class Index extends React.Component { render() { - const { config: siteConfig, language = '' } = this.props; - const { baseUrl } = siteConfig; + const {config: siteConfig, language = ''} = this.props; + const {baseUrl} = siteConfig; const Block = props => ( ( -
    +

    Key Features

    {[ @@ -221,7 +221,7 @@ candidate # tensor([0.4887, 0.5063])
    + style={{textAlign: 'center'}}>

    References

    {papertitle} From 436d6b854b298f264d27d640aeb0f07dbf7616b5 Mon Sep 17 00:00:00 2001 From: Elizabeth Santorella Date: Wed, 26 Jun 2024 09:23:58 -0400 Subject: [PATCH 3/3] one more js whitespace reversion --- website/pages/en/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/en/index.js b/website/pages/en/index.js index f4325d582e..1e17ec0520 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -158,7 +158,7 @@ candidate # tensor([0.4887, 0.5063])
    + style={{textAlign: 'center'}}>

    Get Started