Skip to content

Commit

Permalink
Mutations Example (#318)
Browse files Browse the repository at this point in the history
* chore: mutatoins

* chore: notebook mutations

* chore: mutations

* chore: mutations

* example: mutating notebook

* chore: datalayer kernel provider

* Automatic application of license header

* chore: credits config

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
echarles and github-actions[bot] authored Oct 8, 2024
1 parent 88d9d16 commit 550b3ad
Showing 30 changed files with 860 additions and 564 deletions.
325 changes: 168 additions & 157 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -20,7 +20,8 @@ module.exports = {
projectName: 'Jupyter UI',
plugins: [
'@datalayer/jupyter-docusaurus-plugin',
'@docusaurus/theme-live-codeblock'
'@docusaurus/theme-live-codeblock',
'docusaurus-lunr-search',
],
/*
'docusaurus-plugin-typedoc',
@@ -29,163 +30,173 @@ module.exports = {
tsconfig: '../tsconfig.json',
},
*/
themeConfig: {
colorMode: {
defaultMode: 'light',
disableSwitch: true,
},
liveCodeBlock: {
playgroundPosition: 'bottom',
},
navbar: {
title: 'Jupyter UI',
logo: {
alt: 'Datalayer Logo',
src: 'img/datalayer/logo.svg',
themes: [
'@docusaurus/theme-mermaid',
],
themeConfig: {
colorMode: {
defaultMode: 'light',
disableSwitch: true,
},
prism: {
additionalLanguages: ['bash'],
},
liveCodeBlock: {
playgroundPosition: 'bottom',
},
navbar: {
title: 'Jupyter UI',
logo: {
alt: 'Datalayer Logo',
src: 'img/datalayer/logo.svg',
},
items: [
{
type: 'doc',
docId: 'about/index',
position: 'left',
label: 'About',
},
{
type: 'doc',
docId: '/category/develop',
position: 'left',
label: 'Develop',
},
{
type: 'doc',
docId: '/category/components',
position: 'left',
label: 'Components',
},
{
type: 'doc',
docId: '/category/state',
position: 'left',
label: 'State',
},
{
type: 'doc',
docId: '/category/deployments',
position: 'left',
label: 'Deployments',
},
{
type: 'doc',
docId: '/category/examples',
position: 'left',
label: 'Examples',
},
{
type: 'doc',
docId: '/category/integrations',
position: 'left',
label: 'Integrations',
},
{
type: 'doc',
docId: '/category/themes',
position: 'left',
label: 'Themes',
},
{
type: 'doc',
docId: '/category/demos',
position: 'left',
label: 'Demos',
},
{
type: 'doc',
docId: 'resources/index',
position: 'left',
label: 'Resources',
},
{
type: 'doc',
docId: 'support/index',
position: 'left',
label: 'Support',
},
{
type: 'doc',
docId: 'license/index',
position: 'left',
label: 'License',
},
{
href: 'https://www.linkedin.com/company/datalayer',
position: 'right',
className: 'header-linkedin-link',
'aria-label': 'Linkedin',
},
{
href: 'https://x.com/DatalayerIO',
position: 'right',
className: 'header-x-link',
'aria-label': 'X',
},
{
href: 'https://github.com/datalayer/jupyter-ui',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
{
href: 'https://datalayer.tech',
position: 'right',
className: 'header-datalayer-io-link',
'aria-label': 'Datalayer Tech',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'GitHub',
href: 'https://github.com/datalayer',
},
{
label: 'X',
href: 'https://x.com/datalayerio',
},
{
label: 'Linkedin',
href: 'https://www.linkedin.com/company/datalayer',
},
],
},
{
title: 'More',
items: [
{
label: 'Datalayer',
href: 'https://datalayer.io',
},
{
label: 'Datalayer Docs',
href: 'https://docs.datalayer.io',
},
{
label: 'Datalayer Tech',
href: 'https://datalayer.tech',
},
{
label: 'Datalayer Guide',
href: 'https://datalayer.guide',
},
{
label: 'Datalayer Blog',
href: 'https://datalayer.blog',
},
],
}
],
copyright: `Copyright © ${new Date().getFullYear()} Datalayer, Inc.`,
},
items: [
{
type: 'doc',
docId: 'about/index',
position: 'left',
label: 'About',
},
{
type: 'doc',
docId: '/category/develop',
position: 'left',
label: 'Develop',
},
{
type: 'doc',
docId: '/category/components',
position: 'left',
label: 'Components',
},
{
type: 'doc',
docId: '/category/state',
position: 'left',
label: 'State',
},
{
type: 'doc',
docId: '/category/deployments',
position: 'left',
label: 'Deployments',
},
{
type: 'doc',
docId: '/category/examples',
position: 'left',
label: 'Examples',
},
{
type: 'doc',
docId: '/category/integrations',
position: 'left',
label: 'Integrations',
},
{
type: 'doc',
docId: '/category/themes',
position: 'left',
label: 'Themes',
},
{
type: 'doc',
docId: '/category/demos',
position: 'left',
label: 'Demos',
},
{
type: 'doc',
docId: 'resources/index',
position: 'left',
label: 'Resources',
},
{
type: 'doc',
docId: 'support/index',
position: 'left',
label: 'Support',
},
{
type: 'doc',
docId: 'license/index',
position: 'left',
label: 'License',
},
{
href: 'https://www.linkedin.com/company/datalayer',
position: 'right',
className: 'header-linkedin-link',
'aria-label': 'Linkedin',
},
{
href: 'https://x.com/DatalayerIO',
position: 'right',
className: 'header-x-link',
'aria-label': 'X',
},
{
href: 'https://github.com/datalayer/jupyter-ui',
position: 'right',
className: 'header-github-link',
'aria-label': 'GitHub repository',
},
{
href: 'https://datalayer.tech',
position: 'right',
className: 'header-datalayer-io-link',
'aria-label': 'Datalayer Tech',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'GitHub',
href: 'https://github.com/datalayer',
},
{
label: 'X',
href: 'https://x.com/datalayerio',
},
{
label: 'Linkedin',
href: 'https://www.linkedin.com/company/datalayer',
},
],
},
{
title: 'More',
items: [
{
label: 'Datalayer',
href: 'https://datalayer.io',
},
{
label: 'Datalayer Tech',
href: 'https://datalayer.tech',
},
{
label: 'Datalayer Guide',
href: 'https://datalayer.guide',
},
{
label: 'Datalayer Blog',
href: 'https://datalayer.blog',
},
],
}
],
copyright: `Copyright © ${new Date().getFullYear()} Datalayer, Inc.`,
},
},
presets: [
[
19 changes: 12 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"build": "cross-env USE_SIMPLE_CSS_MINIFIER=true docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
@@ -16,11 +16,14 @@
},
"dependencies": {
"@datalayer/jupyter-docusaurus-plugin": "^0.1.1",
"@docusaurus/core": "2.4.0",
"@docusaurus/preset-classic": "2.4.0",
"@docusaurus/theme-live-codeblock": "2.4.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/theme-live-codeblock": "3.4.0",
"@docusaurus/theme-mermaid": "3.4.0",
"@mdx-js/react": "^3.0.1",
"@primer/react-brand": "0.37.0-rc.ab1bfc11",
"clsx": "^2.1.1",
"docusaurus-lunr-search": "3.5.0",
"docusaurus-plugin-typedoc": "~0.17.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
@@ -29,7 +32,9 @@
"typedoc-plugin-markdown": "^3.13.5"
},
"devDependencies": {
"@types/node": "^18.15.3",
"@docusaurus/module-type-aliases": "3.4.0",
"@tsconfig/docusaurus": "2.0.3",
"cross-env": "^7.0.3",
"typescript": "~5.0.3"
},
"browserslist": {
2 changes: 1 addition & 1 deletion docs/src/components/HomepageFeatures.js
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ const FeatureList = [
Svg: require('../../static/img/target.svg').default,
description: (
<>
Jupyter UI lets you focus on your work, and we&apos;ll do the chores. Check the <a href="https://datalayer.tech/docs/support" target="_blank" style={{ textDecoration: "underline" }}>support options</a>.
Jupyter UI lets you focus on your work, and we&apos;ll do the chores. Check the <a href="https://datalayer.tech/docs/services/support" target="_blank" style={{ textDecoration: "underline" }}>support options</a>.
</>
),
},
Loading

0 comments on commit 550b3ad

Please sign in to comment.