|
1 | | -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). |
| 1 | +# Forumify Documentation |
2 | 2 |
|
3 | | -## Getting Started |
| 3 | +This repository contains the documentation website for [forumify](https://github.com/forumify/forumify-platform) |
| 4 | +as well as first party plugins. |
4 | 5 |
|
5 | | -First, run the development server: |
| 6 | +### Running locally |
6 | 7 |
|
| 8 | +Ensure you have [Node.js](https://nodejs.org/en) >= 22.0 installed. |
| 9 | + |
| 10 | +Use npm to install the required dependencies: |
7 | 11 | ```bash |
8 | | -npm run dev |
9 | | -# or |
10 | | -yarn dev |
11 | | -# or |
12 | | -pnpm dev |
13 | | -# or |
14 | | -bun dev |
| 12 | +npm install |
15 | 13 | ``` |
16 | 14 |
|
17 | | -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. |
18 | | - |
19 | | -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. |
20 | | - |
21 | | -This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. |
| 15 | +Then start the development server: |
| 16 | +```bash |
| 17 | +npm run dev |
| 18 | +``` |
22 | 19 |
|
23 | | -## Learn More |
| 20 | +Open [http://localhost:3000](http://localhost:3000) with your browser and you can see your changes live. |
24 | 21 |
|
25 | | -To learn more about Next.js, take a look at the following resources: |
| 22 | +### Managing pages |
26 | 23 |
|
27 | | -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. |
28 | | -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. |
| 24 | +The documentation website uses file based routing, or as NextJS calls it, [App Router](https://nextjs.org/docs/app/getting-started/layouts-and-pages). |
| 25 | +You can find all pages in the `src/app/` directory. |
29 | 26 |
|
30 | | -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! |
| 27 | +A page located at `src/app/user-manual/calendar/page.mdx` would be available at `/user-manual/calendar`. |
31 | 28 |
|
32 | | -## Deploy on Vercel |
| 29 | +Pages are written in MDX, which is Markdown + React. This allows for very easy management of pages, while still |
| 30 | +being able to leverage React with complex components sprinkled in. |
33 | 31 |
|
34 | | -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. |
| 32 | +### Contributing |
35 | 33 |
|
36 | | -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. |
| 34 | +Anyone is free to contribute to the documentation website. If you are documenting a new feature for |
| 35 | +which a pull request is still open in the main forumify-platform repository, please mention it in your PR. |
0 commit comments