diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 533a1615..38b01729 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -5,9 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' - run: yarn - - run: yarn build + - run: NODE_OPTIONS=--openssl-legacy-provider yarn build - run: yarn flow \ No newline at end of file diff --git a/components/button/styled/index.js b/components/button/styled/index.js index b5d8272e..8b289952 100644 --- a/components/button/styled/index.js +++ b/components/button/styled/index.js @@ -66,7 +66,7 @@ const StyledButton = styled.a.attrs({ ${sif("active")(css` background-color: ${colors.darkPrimaryColor}; `)} - ${StyledButton}:not(:first-child) { + &:not(:first-child) { margin-left: 12px; } `; diff --git a/components/demo-video/index.js b/components/demo-video/index.js index aff2ac12..df9894a5 100644 --- a/components/demo-video/index.js +++ b/components/demo-video/index.js @@ -1,12 +1,12 @@ -export default () => ( - -); +const Index = () => ; + +export default Index; diff --git a/components/head/index.js b/components/head/index.js index 6ac1949e..1792bb98 100644 --- a/components/head/index.js +++ b/components/head/index.js @@ -6,142 +6,144 @@ type HeadProps = { themeColor: string }; -export default ({ - pageTitle = ": write your next code-driven story.", - themeColor = "#334865" -}: HeadProps) => ( - - - nteract - {pageTitle} - - - - - +const Index = ( + { + pageTitle = ": write your next code-driven story.", + themeColor = "#334865" + }: HeadProps +) => + + nteract + {pageTitle} + + + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - + + + + + + - - -); + +; + +export default Index; diff --git a/components/hero/pattern.js b/components/hero/pattern.js index d1b342cb..a0fd3a1c 100644 --- a/components/hero/pattern.js +++ b/components/hero/pattern.js @@ -5,15799 +5,15800 @@ import styled from "styled-components"; const StyledSVG = styled.svg` display: block; `; -export default () => ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +const Pattern = () => + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + - - - - - - + > + + - + - + - - - - - + + + - - - - - + + + - - - - - - - + + + - + + + - + + + - + + + - + + + - + + + - + + + - + + + - + + + + + + - - + transform="translate(20.000000, 500.000000)" + fill="url(#linearGradient-98)" + id="Oval" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -); + +; + +export default Pattern; diff --git a/components/kernels/dotnet.js b/components/kernels/dotnet.js index d124ee59..9667d5dc 100644 --- a/components/kernels/dotnet.js +++ b/components/kernels/dotnet.js @@ -9,34 +9,34 @@ import { ContentSection } from "../content-section"; const install = `dotnet tool install -g Microsoft.dotnet-interactive`; const installKernelSpecs = `dotnet interactive jupyter install`; -export default () => ( - - - -

Installation

-

- Install .NET Core SDK to - your system. -

-
-
-

First, install the .NET Core SDK 3.1. Then use the command line tool to install the global tool.

- - {install} - -

Install the .NET interactive kernel from the command line.

- - {installKernelSpecs} - - The .NET kernel supports C#, F# and Powershell languages -
+const Dotnet = () => + + +

Installation

+

+ Install .NET Core SDK to + your system. +

+
+
+

First, install the .NET Core SDK 3.1. Then use the command line tool to install the global tool.

+ + {install} + +

Install the .NET interactive kernel from the command line.

+ + {installKernelSpecs} + + The .NET kernel supports C#, F# and Powershell languages
- - - -); +
+
+
+
; + +export default Dotnet; diff --git a/components/kernels/julia.js b/components/kernels/julia.js index 34c0f944..a3d4d56f 100644 --- a/components/kernels/julia.js +++ b/components/kernels/julia.js @@ -15,39 +15,39 @@ julia> Pkg.update("IJulia") julia> using IJulia julia> IJulia.installkernel("Julia nteract")`; -export default () => ( - - - -

Installation

-
-
-

- Install Julia to - your system. -

-

To install the IJulia kernel

- - {install} - -

To update and reinstall the IJulia kernel

-

Perform the same steps as installing the IJulia - and perform the update and install kernel steps. -

- - {updateKernel} - -

- Refer to the IJulia documentation for additional commands. -

-
+const Julia = () => + + +

Installation

+
+
+

+ Install Julia to + your system. +

+

To install the IJulia kernel

+ + {install} + +

To update and reinstall the IJulia kernel

+

Perform the same steps as installing the IJulia + and perform the update and install kernel steps. +

+ + {updateKernel} + +

+ Refer to the IJulia documentation for additional commands. +

- - - -); +
+
+
+
; + +export default Julia; diff --git a/components/kernels/kernel.js b/components/kernels/kernel.js index 11c5e9c7..b5d2cd96 100644 --- a/components/kernels/kernel.js +++ b/components/kernels/kernel.js @@ -16,36 +16,36 @@ export type KernelProps = { children: React.Node }; -export default (props: KernelProps) => ( - - - -
-

- - {props.displayName} - - {props.displayName} -

-
-
- - - {`GitHub Repository`} - {" "} - - Installation Docs - - -
-
-
-
{props.children}
+const KernelComponent = (props: KernelProps) => + + +
+

+ + {props.displayName} + + {props.displayName} +

-
-
-); +
+ + + {`GitHub Repository`} + {" "} + + Installation Docs + + +
+ +
+
{props.children}
+
+ +; + +export default KernelComponent; diff --git a/components/kernels/kotlin.js b/components/kernels/kotlin.js index d28f0e81..c47ea821 100644 --- a/components/kernels/kotlin.js +++ b/components/kernels/kotlin.js @@ -33,59 +33,59 @@ cd kotlin-jupyter ./gradlew install # run Gradle task that will install Kernel. Python is not needed ` -export default () => ( - - - -

Installation

-

- Kotlin kernel can be installed with conda, PyPi or from sources. -

-
-
-

Using conda

- - {condaInstall} - -
-
-

Using Python3 with pip and a virtual environment on macOS and Linux

- - {pipInstallLinux} - -
-
-

Using Python3 with pip and a virtual environment on Windows

- - {pipInstallWindows} - -
-
-

From sources globally

- - {sourcesInstall} - -
+const Kotlin = () => + + +

Installation

+

+ Kotlin kernel can be installed with conda, PyPi or from sources. +

+
+
+

Using conda

+ + {condaInstall} +
-

- Alternatively, you may wish to install the Kotlin kernel - globally on your system. This enables you to use the Kotlin kernel - without creating a virtual environment. -

-
-
-

Using Python3 globally (without a virtual environment)

- - {pipGlobalInstall} - -
+
+

Using Python3 with pip and a virtual environment on macOS and Linux

+ + {pipInstallLinux} +
- - - -); +
+

Using Python3 with pip and a virtual environment on Windows

+ + {pipInstallWindows} + +
+
+

From sources globally

+ + {sourcesInstall} + +
+
+

+ Alternatively, you may wish to install the Kotlin kernel + globally on your system. This enables you to use the Kotlin kernel + without creating a virtual environment. +

+
+
+

Using Python3 globally (without a virtual environment)

+ + {pipGlobalInstall} + +
+
+ + +; + +export default Kotlin; diff --git a/components/kernels/node.js b/components/kernels/node.js index 3d064527..87831148 100644 --- a/components/kernels/node.js +++ b/components/kernels/node.js @@ -11,35 +11,35 @@ const install = ` npm install -g ijavascript ijsinstall`; -export default () => ( - - - -

Installation

-

- nteract includes a bundled Node.js kernel. You may begin working with it after starting the nteract app. -

-
-
-

Use nteract's node.js kernel

-

- From the nteract app's Runtime menu, select the - Node nteract kernel. You should see an indicator - in the bottom left that displays the kernel as node. -

-

Installing the ijavascript kernel

-

If you wish to explore another Javascript kernel, you may install ijavascript from the terminal.

- - {install} - -
+const Node = () => + + +

Installation

+

+ nteract includes a bundled Node.js kernel. You may begin working with it after starting the nteract app. +

+
+
+

Use nteract's node.js kernel

+

+ From the nteract app's Runtime menu, select the + Node nteract kernel. You should see an indicator + in the bottom left that displays the kernel as node. +

+

Installing the ijavascript kernel

+

If you wish to explore another Javascript kernel, you may install ijavascript from the terminal.

+ + {install} +
- - - -); +
+
+
+
; + +export default Node; diff --git a/components/kernels/page-header.js b/components/kernels/page-header.js index 379ab4e4..72a3a477 100644 --- a/components/kernels/page-header.js +++ b/components/kernels/page-header.js @@ -1,17 +1,17 @@ import Head from "next/head"; import { PageHeader } from "../page-header"; -export default themeColor => ( - - - Kernels -

- Kernels connect your favorite languages to nteract projects for an - improved REPL experience. nteract looks for installed kernels in - your local python/pip or conda environment. More detailed instructions - for various kernels can be found below. -

-
- -
-); +const PageHeaderComponent = themeColor => + + Kernels +

+ Kernels connect your favorite languages to nteract projects for an + improved REPL experience. nteract looks for installed kernels in + your local python/pip or conda environment. More detailed instructions + for various kernels can be found below. +

+
+ +
; + +export default PageHeaderComponent; diff --git a/components/kernels/python.js b/components/kernels/python.js index 30390916..35ba5263 100644 --- a/components/kernels/python.js +++ b/components/kernels/python.js @@ -28,56 +28,56 @@ conda activate my_conda conda install ipykernel # install Python kernel (ipykernel) into the conda environment python -m ipykernel install # install python kernel into nteract's available kernel list`; -export default () => ( - - - -

Installation

-

- To use Python in nteract, a Python kernel, ipykernel, is added to an - environment, such as a virtual environment or conda environment. - Installing ipykernel into your environment will add Python to your - available kernels' list in nteract. -

-
-
-

Using conda

- - {condaInstall} - -
-
-

Using Python3 with pip and a virtual environment on macOS and Linux

- - {pipInstallLinux} - -
-
-

Using Python3 with pip and a virtual environment on Windows

- - {pipInstallWindows} - -
+const Python = () => + + +

Installation

+

+ To use Python in nteract, a Python kernel, ipykernel, is added to an + environment, such as a virtual environment or conda environment. + Installing ipykernel into your environment will add Python to your + available kernels' list in nteract. +

+
+
+

Using conda

+ + {condaInstall} +
-

- Alternatively, you may wish to install the Python kernel, ipykernel, - globally on your system. This enables you to use the Python kernel - without creating a virtual environment. -

-
-
-

Using Python3 globally (without a virtual environment)

- - {pipGlobalInstall} - -
+
+

Using Python3 with pip and a virtual environment on macOS and Linux

+ + {pipInstallLinux} +
- - - -); +
+

Using Python3 with pip and a virtual environment on Windows

+ + {pipInstallWindows} + +
+
+

+ Alternatively, you may wish to install the Python kernel, ipykernel, + globally on your system. This enables you to use the Python kernel + without creating a virtual environment. +

+
+
+

Using Python3 globally (without a virtual environment)

+ + {pipGlobalInstall} + +
+
+ + +; + +export default Python; diff --git a/components/kernels/scala.js b/components/kernels/scala.js index d6459a2b..dfb9f6f1 100644 --- a/components/kernels/scala.js +++ b/components/kernels/scala.js @@ -15,35 +15,35 @@ coursier bootstrap \\ ./almond --install `; -export default () => ( - - - -

Installation

-

- Install{" "} - - Scala - {" "} - to your system. -

-
-
-

- From the command line, install the almond (formerly jupyter-scala) - kernel -

- - {install} - -
+const Scala = () => + + +

Installation

+

+ Install{" "} + + Scala + {" "} + to your system. +

+
+
+

+ From the command line, install the almond (formerly jupyter-scala) + kernel +

+ + {install} +
- - - -); +
+
+
+
; + +export default Scala; diff --git a/components/layout/index.js b/components/layout/index.js index 68ad8626..b54bda2c 100644 --- a/components/layout/index.js +++ b/components/layout/index.js @@ -3,7 +3,8 @@ import Head from "../head"; import { StyledLayout, StyledPage } from "./styled"; import { Header } from "../header"; import { Footer } from "../footer"; -export default ({ pageTitle, themeColor, children }) => { + +const Index = ({ pageTitle, themeColor, children }) => { return ( @@ -11,3 +12,5 @@ export default ({ pageTitle, themeColor, children }) => { ); }; + +export default Index; diff --git a/components/navigation/navigation-left.js b/components/navigation/navigation-left.js index 39178e0c..6934d958 100644 --- a/components/navigation/navigation-left.js +++ b/components/navigation/navigation-left.js @@ -4,21 +4,21 @@ import Link from "next/link"; // $FlowFixMe import styles from "./navigation.scss"; -export default () => ( -
-