Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sandulat committed Nov 4, 2023
1 parent 3e8f498 commit dab0767
Show file tree
Hide file tree
Showing 88 changed files with 5,039 additions and 1,801 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const config = {
},
settings: {
next: {
rootDir: ["apps/web"],
rootDir: ["apps/docs"],
},
},
};
Expand Down
13 changes: 10 additions & 3 deletions apps/docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel
44 changes: 30 additions & 14 deletions apps/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
## Getting Started
# Syntax

First, run the development server:
Syntax is a [Tailwind UI](https://tailwindui.com) site template built using [Tailwind CSS](https://tailwindcss.com) and [Next.js](https://nextjs.org).

## Getting started

To get started with this template, first install the npm dependencies:

```bash
yarn dev
npm install
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
Next, run the development server:

```bash
npm run dev
```

Finally, open [http://localhost:3000](http://localhost:3000) in your browser to view the website.

## Customizing

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
You can start editing this template by modifying the files in the `/src` folder. The site will auto-update as you edit these files.

To create [API routes](https://nextjs.org/docs/app/building-your-application/routing/router-handlers) add an `api/` directory to the `app/` directory with a `route.ts` file. For individual endpoints, create a subfolder in the `api` directory, like `api/hello/route.ts` would map to [http://localhost:3000/api/hello](http://localhost:3000/api/hello).
## Global search

## Learn More
This template includes a global search that's powered by the [FlexSearch](https://github.com/nextapps-de/flexsearch) library. It's available by clicking the search input or by using the `⌘K` shortcut.

To learn more about Next.js, take a look at the following resources:
This feature requires no configuration, and works out of the box by automatically scanning your documentation pages to build its index. You can adjust the search parameters by editing the `/src/markdoc/search.mjs` file.

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn/foundations/about-nextjs) - an interactive Next.js tutorial.
## License

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
This site template is a commercial product and is licensed under the [Tailwind UI license](https://tailwindui.com/license).

## Deploy on Vercel
## Learn more

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js.
To learn more about the technologies used in this site template, see the following resources:

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
- [Tailwind CSS](https://tailwindcss.com/docs) - the official Tailwind CSS documentation
- [Next.js](https://nextjs.org/docs) - the official Next.js documentation
- [Headless UI](https://headlessui.dev) - the official Headless UI documentation
- [Markdoc](https://markdoc.io) - the official Markdoc documentation
- [Algolia Autocomplete](https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/) - the official Algolia Autocomplete documentation
- [FlexSearch](https://github.com/nextapps-de/flexsearch) - the official FlexSearch documentation
28 changes: 0 additions & 28 deletions apps/docs/app/globals.css

This file was deleted.

14 changes: 0 additions & 14 deletions apps/docs/app/layout.tsx

This file was deleted.

93 changes: 0 additions & 93 deletions apps/docs/app/page.tsx

This file was deleted.

51 changes: 0 additions & 51 deletions apps/docs/app/submit.ts

This file was deleted.

16 changes: 0 additions & 16 deletions apps/docs/components.json

This file was deleted.

56 changes: 0 additions & 56 deletions apps/docs/components/ui/button.tsx

This file was deleted.

Loading

0 comments on commit dab0767

Please sign in to comment.