The docs behind https://docs.moderne.io/. For OpenRewrite docs, please see the rewrite-docs repository.
We encourage you to contribute to our docs! Please feel free to create an issue or open a PR if you find any issues.
Please follow our comprehensive Style Guide when contributing to the documentation. It covers formatting rules, markdown conventions, and content guidelines to ensure consistency across all Moderne documentation.
This documentation site is built using Docusaurus. When any changes are merged into this repository, a build is kicked off to update the docs.
- Node.js version
20.0
or above - Yarn package manager
Clone the repository and install dependencies:
git clone https://github.com/moderneinc/moderne-docs.git
cd moderne-docs
yarn install
To start the development server:
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. The site will be available at http://localhost:3000
.
To build the site to test if there are any errors:
DOCUSAURUS_IGNORE_SSG_WARNINGS=true yarn build
docs/
- Root documentation directoryadministrator-documentation/
- Platform setup and configuration guidesuser-documentation/
- End-user guides for Platform, CLI, and IDEopenrewrite-advanced-program-analysis/
- Advanced analysis techniquesreleases/
- Changelogs and release noteshands-on-learning/
- Workshops and tutorials
static/
- Static assets like images and filessrc/
- Custom React components and pagesdocusaurus.config.ts
- Docusaurus configuration filesidebars.ts
- Sidebar navigation configuration - must be updated whenever a new page is added