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

docs: Re-organise for new docs layout #653

Merged
merged 2 commits into from
Jan 25, 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
210 changes: 164 additions & 46 deletions docs/config.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
{
"$schema": "https://raw.githubusercontent.com/TanStack/tanstack.com/main/tanstack-docs-config.schema.json",
"docSearch": {
"appId": "",
"indexName": "",
"apiKey": ""
},
"menu": [
{
"label": "Guide",
"label": "Getting Started",
"children": [
{ "label": "Introduction", "to": "guide/introduction" },
{ "label": "Installation", "to": "guide/installation" }
]
},
{
"label": "Adapters",
"children": [
{ "label": "React Virtual", "to": "adapters/react-virtual" },
{ "label": "Solid Virtual", "to": "adapters/solid-virtual" },
{ "label": "Svelte Virtual", "to": "adapters/svelte-virtual" },
{ "label": "Vue Virtual", "to": "adapters/vue-virtual" }
{ "label": "Introduction", "to": "introduction" },
{ "label": "Installation", "to": "installation" }
]
},
{
Expand All @@ -27,49 +19,175 @@
{ "label": "Virtualizer", "to": "api/virtualizer" },
{ "label": "VirtualItem", "to": "api/virtual-item" }
]
},
}
],
"frameworkMenus": [
{
"label": "React Examples",
"children": [
{ "to": "examples/react/fixed", "label": "Fixed" },
{ "to": "examples/react/variable", "label": "Variable" },
{ "to": "examples/react/dynamic", "label": "Dynamic" },
{ "to": "examples/react/padding", "label": "Padding" },
{ "to": "examples/react/sticky", "label": "Sticky" },
{ "to": "examples/react/infinite-scroll", "label": "Infinite Scroll" },
{ "to": "examples/react/smooth-scroll", "label": "Smooth Scroll" },
{ "to": "examples/react/table", "label": "Table" },
{ "to": "examples/react/window", "label": "Window" }
"framework": "react",
"menuItems": [
{
"label": "Getting Started",
"children": [
{
"label": "React Virtual",
"to": "framework/react/react-virtual"
}
]
},
{
"label": "Examples",
"children": [
{
"to": "framework/react/examples/fixed",
"label": "Fixed"
},
{
"to": "framework/react/examples/variable",
"label": "Variable"
},
{
"to": "framework/react/examples/dynamic",
"label": "Dynamic"
},
{
"to": "framework/react/examples/padding",
"label": "Padding"
},
{
"to": "framework/react/examples/sticky",
"label": "Sticky"
},
{
"to": "framework/react/examples/infinite-scroll",
"label": "Infinite Scroll"
},
{
"to": "framework/react/examples/smooth-scroll",
"label": "Smooth Scroll"
},
{
"to": "framework/react/examples/table",
"label": "Table"
},
{
"to": "framework/react/examples/window",
"label": "Window"
}
]
}
]
},
{
"label": "Solid Examples",
"children": [{ "to": "#", "label": "Coming Soon!" }]
"framework": "solid",
"menuItems": [
{
"label": "Getting Started",
"children": [
{ "label": "Solid Virtual", "to": "framework/solid/solid-virtual" }
]
}
]
},
{
"label": "Svelte Examples",
"children": [
{ "to": "examples/svelte/fixed", "label": "Fixed" },
{ "to": "examples/svelte/variable", "label": "Variable" },
{ "to": "examples/svelte/dynamic", "label": "Dynamic" },
{ "to": "examples/svelte/sticky", "label": "Sticky" },
{ "to": "examples/svelte/infinite-scroll", "label": "Infinite Scroll" },
{ "to": "examples/svelte/smooth-scroll", "label": "Smooth Scroll" },
{ "to": "examples/svelte/table", "label": "Table" }
"framework": "svelte",
"menuItems": [
{
"label": "Getting Started",
"children": [
{
"label": "Svelte Virtual",
"to": "framework/svelte/svelte-virtual"
}
]
},
{
"label": "Examples",
"children": [
{
"to": "framework/svelte/examples/fixed",
"label": "Fixed"
},
{
"to": "framework/svelte/examples/variable",
"label": "Variable"
},
{
"to": "framework/svelte/examples/dynamic",
"label": "Dynamic"
},
{
"to": "framework/svelte/examples/sticky",
"label": "Sticky"
},
{
"to": "framework/svelte/examples/infinite-scroll",
"label": "Infinite Scroll"
},
{
"to": "framework/svelte/examples/smooth-scroll",
"label": "Smooth Scroll"
},
{
"to": "framework/svelte/examples/table",
"label": "Table"
}
]
}
]
},
{
"label": "Vue Examples",
"children": [
{ "to": "examples/vue/fixed", "label": "Fixed" },
{ "to": "examples/vue/variable", "label": "Variable" },
{ "to": "examples/vue/dynamic", "label": "Dynamic" },
{ "to": "examples/vue/sticky", "label": "Sticky" },
{ "to": "examples/vue/infinite-scroll", "label": "Infinite Scroll" },
{ "to": "examples/vue/smooth-scroll", "label": "Smooth Scroll" },
{ "to": "examples/vue/table", "label": "Table" },
{ "to": "examples/vue/padding", "label": "Padding" },
{ "to": "examples/vue/scroll-padding", "label": "Scroll Padding" }
"framework": "vue",
"menuItems": [
{
"label": "Getting Started",
"children": [
{
"label": "Vue Virtual",
"to": "framework/vue/vue-virtual"
}
]
},
{
"label": "Examples",
"children": [
{
"to": "framework/vue/examples/fixed",
"label": "Fixed"
},
{
"to": "framework/vue/examples/variable",
"label": "Variable"
},
{
"to": "framework/vue/examples/dynamic",
"label": "Dynamic"
},
{
"to": "framework/vue/examples/sticky",
"label": "Sticky"
},
{
"to": "framework/vue/examples/infinite-scroll",
"label": "Infinite Scroll"
},
{
"to": "framework/vue/examples/smooth-scroll",
"label": "Smooth Scroll"
},
{
"to": "framework/vue/examples/table",
"label": "Table"
},
{
"to": "framework/vue/examples/padding",
"label": "Padding"
},
{
"to": "framework/vue/examples/scroll-padding",
"label": "Scroll Padding"
}
]
}
]
}
]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed docs/public/images/bytes-logo.png
Binary file not shown.
49 changes: 0 additions & 49 deletions docs/src/components/BytesForm.js

This file was deleted.

32 changes: 0 additions & 32 deletions docs/src/components/useBytesSubmit.js

This file was deleted.

Loading