Skip to content

Files

Latest commit

fb1da2a · Jan 17, 2025

History

History

website

Rooch Website

The website is built with Nextra framework. The site is deployed on and served by Vercel.

Dependencies and Development

It is recommended to use pnpm.

To install dependencies:

pnpm install

To preview the website locally:

pnpm dev

File Structure

All editable pages are under /pages/.

├── blog                      // all the Blog Posts go into here
│   ├── post_name.en-US.mdx   // this is a post in English
│   ├── post_name.zh-CN.mdx   // this is a post in Chinese
├── blog-template             // here you can find a blog post template with necessary metadata and post header
│   └── post-template.en-US.mdx
├── docs                      // all the documentations are in here; they should be nested with folder structures 
│   ├── _meta.en-US.json      // each of the folders in the docs should contain a _meta.json file with locale in the file name
...
└── index.en-US.mdx           

Contribution

To contribute articles or documents, submit a PR directly to the main branch Currently the website has both English and Chinese versions. To contribute docs in a specific language please follow the naming convention doc.locale.mdx