Skip to content

Commit

Permalink
docs: Move old docs to new
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Aug 1, 2024
1 parent ae8338a commit ea8c177
Show file tree
Hide file tree
Showing 72 changed files with 324 additions and 412 deletions.
15 changes: 0 additions & 15 deletions __old_docs/pages/docs/components/_meta.json

This file was deleted.

17 changes: 0 additions & 17 deletions __old_docs/pages/docs/components/date.mdx

This file was deleted.

135 changes: 0 additions & 135 deletions __old_docs/pages/docs/components/editor.mdx

This file was deleted.

85 changes: 0 additions & 85 deletions __old_docs/pages/docs/components/icons.mdx

This file was deleted.

5 changes: 0 additions & 5 deletions __old_docs/pages/docs/components/ui/_meta.json

This file was deleted.

39 changes: 0 additions & 39 deletions __old_docs/pages/docs/components/ui/color-input.mdx

This file was deleted.

4 changes: 2 additions & 2 deletions apps/docs/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export default function Page() {
</h1>

<p className="text-muted-foreground mt-6 text-lg font-normal leading-7 sm:text-xl lg:max-w-2xl xl:text-2xl xl:leading-9">
Deploy SEO-friendly sites effortlessly, customize with ease, and
enjoy security, speed, and efficiency.
SEO-friendly sites effortlessly, customize with ease, and enjoy
security, speed, and efficiency.
</p>

<div className="mt-10 flex flex-1 flex-wrap items-center justify-center gap-2 sm:gap-6">
Expand Down
Binary file added apps/docs/assets/home/languages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/docs/assets/home/plugins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/docs/components/features/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const SectionFeatures = ({
<div className="grid grid-cols-1 gap-x-12 gap-y-8 md:grid-cols-2 lg:items-center xl:gap-x-20">
<Image
src={img}
className={cn('rounded-md', {
className={cn('rounded-md border shadow', {
'order-1 lg:order-2': reverse,
})}
alt="test"
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/emails.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ export const ExampleTemplateEmail = ({ username, user }: Props) => {

...or in your service.

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Schema GraphQL">
`namespaces` are working the same as in the frontend.
</Callout>
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/fetch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ export const mutationApi = async () => {
};
```

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Cache Mutation" type="warn">
Don't cache mutation data, because it will cause a problem with the mutation.
</Callout>
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/graphql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ VitNode uses [GraphQL](https://graphql.org/) to query and mutate data with [Code

VitNode comes with a built-in GraphQL Playground powered by [Apollo Sandbox](https://www.apollographql.com/docs/graphos/explorer/sandbox/). You can access it by going to [localhost:8080/graphql](http://localhost:8080/graphql) on your website.

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Production" type="warn">
Playground is disabled in production mode.
</Callout>
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/i18n.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ To translate your content select the plugin in `frontend`, go to `langs` folder
}
```

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Primary key" type="warn">
Name your plugin should be a primary key in the JSON file.

Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ icon: Power

VitNode is a modern, open-source, and self-hosted content management system (CMS) that allows you to create and manage your website with ease using [NextJS](https://nextjs.org/) & [NestJS](https://nestjs.com/).

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="🛠️ VitNode is still in development!" type="warn">
You can try it out, but it is not recommended to use it now in production.
</Callout>
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/resolvers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ export class ShowBlogCategoriesResolver {
}
```

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Unique Name">
The name of the query should be unique. Good practice is to name `{plugin}_{module}__{action}`.

Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/dev/services.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ export class ShowBlogCategoriesArgs {
}
```

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Schema GraphQL">
NestJS GraphQL Automaticly generates schema from the DTO classes. Make sure to
each class has a unique name.
Expand Down
2 changes: 0 additions & 2 deletions apps/docs/content/docs/ui/accordion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Accordion
description: A vertically stacked set of interactive headings, each revealing a section of content.
---

import { Callout } from 'fumadocs-ui/components/callout';

<Callout title="Shadcn UI">
This component is part of [Shadcn
UI](https://ui.shadcn.com/docs/components/accordion).
Expand Down
Loading

0 comments on commit ea8c177

Please sign in to comment.