-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
88 changed files
with
5,039 additions
and
1,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ const config = { | |
}, | ||
settings: { | ||
next: { | ||
rootDir: ["apps/web"], | ||
rootDir: ["apps/docs"], | ||
}, | ||
}, | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.