This repo contains the open source Mondoo documentation, which includes Mondoo, cnspec, cnquery, and MQL. It's built using Docusaurus 3, deployed to a Google Cloud Storage bucket, and published at mondoo.com/docs.
Great! If you're just fixing a typo or making a small change to an existing topic, just submit a merge request in this repo. For larger contributions, please create a GitHub issue in this repo to discuss the changes before you begin.
Install Docusaurus environment so you can build and test your contributions.
This project uses Node.js version 20 and the Yarn package manager. If you don't already have these installed:
Note: Make sure to follow the instructions to update your shell's profile for Node.
To set up Docusaurus and its dependencies, clone this repo and run this command in the local copy:
yarn install
To make a small fix, just find the source file and go for it! For larger changes, please create an issue here in GitHub so we can discuss it before you begin.
The markdown files that form the content of the docs are in the /docs
directory. The Releases blog is in the /releases
directory. Find images in /static/img
.
Note: We programmatically generate MQL resource and cnspec/cnquery command line reference topics from .lr and .yaml files in the mondoohq/cnquery codebase. To make changes to those references docs, you must change the source content in the cnquery repo. Our tools regularly overwrite any changes made to that content the docs repo.
Until we make our documentation style guide public, please try to follow the Google developer documentation style guide. With a few exceptions, that's what we do.
To generate a local build of the Mondoo docs, run this command:
make serve
Docusaurus generates the static content in the build/
directory and launches a preview in your default web browser on a local development server (by default http://localhost:3000).
Submit a request to merge your branch. We accept only signed Git commits.
Thank you for your contribution!
- Copyright: 2018-2024, Mondoo, Inc.
- License: MPL 2.0