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

Mutations Example #318

Merged
merged 8 commits into from
Oct 8, 2024
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
325 changes: 168 additions & 157 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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: [
[
Expand Down
19 changes: 12 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/HomepageFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>.
</>
),
},
Expand Down
Loading
Loading