From 0aeecbfdcf89cb2f48fa69f993716b55b415c3ed Mon Sep 17 00:00:00 2001 From: guerler Date: Thu, 22 Aug 2024 09:15:16 +0300 Subject: [PATCH] Add example placeholder --- docs/.vitepress/config.mts | 1 + docs/content/examples.md | 46 ++++---------------------------------- 2 files changed, 5 insertions(+), 42 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 3462644..404503e 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -17,6 +17,7 @@ export default defineConfig({ text: 'Getting Started', items: [ { text: 'What is Galaxy Charts?', link: '/content/introduction' }, + { text: 'Examples', link: '/content/examples' }, { text: 'Installation', link: '/content/installation' }, { text: 'Connect to Galaxy Instance', link: '/content/configuration' }, ] diff --git a/docs/content/examples.md b/docs/content/examples.md index 6bd8bb5..aaac9c9 100644 --- a/docs/content/examples.md +++ b/docs/content/examples.md @@ -2,48 +2,10 @@ outline: deep --- -# Runtime API Examples +# Examples -This page demonstrates usage of some of the runtime APIs provided by VitePress. +Here are some examples. -The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: +## NGL Protein Structure Viewer -```md - - -## Results - -### Theme Data -
{{ theme }}
- -### Page Data -
{{ page }}
- -### Page Frontmatter -
{{ frontmatter }}
-``` - - - -## Results - -### Theme Data -
{{ theme }}
- -### Page Data -
{{ page }}
- -### Page Frontmatter -
{{ frontmatter }}
- -## More - -Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata). +## Plotly-JS Diagrams \ No newline at end of file