This repository contains the Mendix documentation, which is served on https://docs.mendix.com.
Build status:
To make Mx10 Beta 1 updates here, please do the following:
- Create a separate branch off of the
mx-10-branch.- Do not commit directly to
developmentorproduction!
- Do not commit directly to
- Make your documentation changes.
- Create a pull request with those changes. Make sure you chose the
mx-10-branchas the base branch. - Your component’s dedicated technical writer will be assigned to review your work.
Want to contribute? Take a look at How to Contribute to the Mendix Documentation. It will guide you through the process of submitting updates to the docs directly from Github or from a local branch.
You can clone a local copy of the repository and build local previews. The Mendix documentation is built on top of Hugo and Node.JS. The theme of the page is based on Docsy. To develop the documentation locally, follow the steps in the next section.
To clone the repo please keep in mind:
- If you are running on Windows, the directory path for the local directory should not be too long, otherwise some files will reach the limits of git’s file length. A base path of up to 50 characters works - 64 characters is currently too long.
- Download and install the LTS version of NodeJS.
- In a terminal at the root of the repository run:
npm install.
To run a local version of the site:
-
Run cmd:
./node_modules/.bin/hugo server --environment developmentThe path syntax prefacing
hugomay be different based on your operating system and terminal you use.Once the site is built you will see a table indicating how many pages have been created. You will need to wait until the server is set up before you can see the site.
-
Go to http://localhost:1313/ and see the site live.
See the Hugo Server documentation for more options (for example, if you want to change the port on which the site is published)
If you are using a Mac, you might get an error too many open files or fatal error: pipe failed. By default, your Mac is probably set to restrict the number of open files. You will need to override this, see Docsy known issues for more information.
If your system has a low memory limit, add the --renderToDisk parameter to the Hugo command, for example hugo server --environment development --renderToDisk. With this option, Hugo will only load pages on demand; without the --renderToDisk option, Hugo will load all documentation into memory for faster access.

