Skip to content

Commit

Permalink
docs: update structure
Browse files Browse the repository at this point in the history
  • Loading branch information
artalar committed Nov 1, 2023
1 parent 23e7380 commit 6cc85b7
Show file tree
Hide file tree
Showing 48 changed files with 708 additions and 936 deletions.
88 changes: 16 additions & 72 deletions docs/.astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,37 +201,9 @@ declare module 'astro:content' {

type ContentEntryMap = {
"docs": {
"adapter/npm-cookie-baker.md": {
id: "adapter/npm-cookie-baker.md";
slug: "adapter/npm-cookie-baker";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"adapter/npm-history.md": {
id: "adapter/npm-history.md";
slug: "adapter/npm-history";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"adapter/npm-react.md": {
id: "adapter/npm-react.md";
slug: "adapter/npm-react";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"adapter/npm-solid-js.md": {
id: "adapter/npm-solid-js.md";
slug: "adapter/npm-solid-js";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"adapter/npm-svelte.md": {
id: "adapter/npm-svelte.md";
slug: "adapter/npm-svelte";
"blog/what-is-state-manager.md": {
id: "blog/what-is-state-manager.md";
slug: "blog/what-is-state-manager";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
Expand Down Expand Up @@ -271,13 +243,6 @@ declare module 'astro:content' {
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"core.md": {
id: "core.md";
slug: "core";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"examples.md": {
id: "examples.md";
slug: "examples";
Expand Down Expand Up @@ -313,13 +278,6 @@ declare module 'astro:content' {
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"getting-started/try-online.md": {
id: "getting-started/try-online.md";
slug: "getting-started/try-online";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"handbook.md": {
id: "handbook.md";
slug: "handbook";
Expand All @@ -341,6 +299,13 @@ declare module 'astro:content' {
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"package/core.md": {
id: "package/core.md";
slug: "package/core";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"package/effects.md": {
id: "package/effects.md";
slug: "package/effects";
Expand Down Expand Up @@ -509,37 +474,16 @@ declare module 'astro:content' {
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"recipes/data-fetching.md": {
id: "recipes/data-fetching.md";
slug: "recipes/data-fetching";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"recipes/data-persisting.md": {
id: "recipes/data-persisting.md";
slug: "recipes/data-persisting";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"recipes/forms.md": {
id: "recipes/forms.md";
slug: "recipes/forms";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"recipes/share-state.md": {
id: "recipes/share-state.md";
slug: "recipes/share-state";
"recipes/custom-operator.md": {
id: "recipes/custom-operator.md";
slug: "recipes/custom-operator";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
} & { render(): Render[".md"] };
"recipes/undo-redo.md": {
id: "recipes/undo-redo.md";
slug: "recipes/undo-redo";
"recipes/typescript.md": {
id: "recipes/typescript.md";
slug: "recipes/typescript";
body: string;
collection: "docs";
data: InferEntrySchema<"docs">
Expand Down
12 changes: 6 additions & 6 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ export default defineConfig({
directory: 'getting-started',
},
},
{
label: 'Recipes',
autogenerate: {
directory: 'recipes',
},
},
{
label: 'Examples',
link: 'examples',
Expand All @@ -44,6 +38,12 @@ export default defineConfig({
label: 'Handbook',
link: 'handbook',
},
{
label: 'Recipes',
autogenerate: {
directory: 'recipes',
},
},
{
label: 'Packages',
autogenerate: {
Expand Down
73 changes: 0 additions & 73 deletions docs/src/content/docs/adapter/npm-cookie-baker.md

This file was deleted.

39 changes: 0 additions & 39 deletions docs/src/content/docs/adapter/npm-history.md

This file was deleted.

Loading

1 comment on commit 6cc85b7

@vercel
Copy link

@vercel vercel bot commented on 6cc85b7 Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.