diff --git a/docs/vitepress/.vitepress/config.mjs b/docs/vitepress/.vitepress/config.mjs index 2e4f556a..9c22ca0c 100644 --- a/docs/vitepress/.vitepress/config.mjs +++ b/docs/vitepress/.vitepress/config.mjs @@ -81,11 +81,21 @@ export default defineConfig({ { text: 'ParaView', link: '/guide/tutorial/paraview' }, ] }, + { + text: 'Jupyter', + items: [ + { text: 'Trame in Jupyter', link: '/guide/jupyter/intro' }, + { text: 'Code example', link: '/guide/jupyter/sample-code' }, + { text: 'How it works', link: '/guide/jupyter/how-it-works' }, + { text: 'Advanced usecase', link: '/guide/jupyter/advanced' }, + { text: 'Trame extension', link: '/guide/jupyter/extension' }, + ] + }, { text: 'Deployment', items: [ { text: 'Python CLI', link: '/guide/deployment/pypi' }, - { text: 'Jupyter', link: '/guide/deployment/jupyter' }, + { text: 'Jupyter', link: '/guide/jupyter/intro' }, { text: 'Desktop', link: '/guide/deployment/desktop' }, { text: 'Cloud', link: '/guide/deployment/cloud' }, { text: 'HPC / Clusters', link: '/guide/deployment/hpc' }, diff --git a/docs/vitepress/assets/images/deployment/tauri-cone-app.png b/docs/vitepress/assets/images/deployment/tauri-cone-app.png new file mode 100644 index 00000000..0da7766d Binary files /dev/null and b/docs/vitepress/assets/images/deployment/tauri-cone-app.png differ diff --git a/docs/vitepress/assets/images/deployment/tauri.svg b/docs/vitepress/assets/images/deployment/tauri.svg new file mode 100644 index 00000000..ab1a3185 --- /dev/null +++ b/docs/vitepress/assets/images/deployment/tauri.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/vitepress/assets/images/jupyter/jupyter-cone.png b/docs/vitepress/assets/images/jupyter/jupyter-cone.png new file mode 100644 index 00000000..2c6c2295 Binary files /dev/null and b/docs/vitepress/assets/images/jupyter/jupyter-cone.png differ diff --git a/docs/vitepress/assets/images/jupyter/multi-ui.png b/docs/vitepress/assets/images/jupyter/multi-ui.png new file mode 100644 index 00000000..6df155a2 Binary files /dev/null and b/docs/vitepress/assets/images/jupyter/multi-ui.png differ diff --git a/docs/vitepress/guide/deployment/desktop.md b/docs/vitepress/guide/deployment/desktop.md index b0bc977c..df020733 100644 --- a/docs/vitepress/guide/deployment/desktop.md +++ b/docs/vitepress/guide/deployment/desktop.md @@ -17,4 +17,11 @@ pip install \ python -m trame.app.demo --app ``` -![Simple trame app](/assets/images/deployment/cone-app.png) \ No newline at end of file +![Simple trame app](/assets/images/deployment/cone-app.png) + +![Tauri](/assets/images/deployment/tauri.svg) + +Otherwise you can also use tauri and fully leverage File Dialog, Multi-Windows, and App bundler for Linux, Mac and Windows. +[Several examples are available](https://github.com/Kitware/trame-tauri/tree/master/examples) in its package repository. + +![Tauri trame app](/assets/images/deployment/tauri-cone-app.png) \ No newline at end of file diff --git a/docs/vitepress/guide/jupyter/advanced.md b/docs/vitepress/guide/jupyter/advanced.md new file mode 100644 index 00000000..4d37a765 --- /dev/null +++ b/docs/vitepress/guide/jupyter/advanced.md @@ -0,0 +1,40 @@ +# Advanced usecase + +Now that you know we rely on an __`