Memgraph's documentation has been transfered to the memgraph/documentation
repository. For that reason the docs
repository has been archived.
The DX team
September 18th, 2023
This repository contains the source files and various generators for the Memgraph documentation available at memgraph.com/docs. Since we are writing our technical documentation using markdown, it is also nicely rendered by GitHub, as you can see by following this link.
To run the documentation website locally, you will need to install:
- Node.js version >= 16.0.0 or above (which
can be checked by running
node -v
). You can use nvm for managing multiple Node versions on a single machine installed.
To preview your changes as you edit the files, you can run a local development server that will serve your website, and it will reflect the latest changes. First, install all the dependencies with:
npm install
Start the server with:
npm run start
By default, a browser window will open at http://localhost:3000.
Docusaurus is a modern static website generator, so we need to build the website into a directory of static contents and put it on a web server so that it can be viewed. First, install all the dependencies with:
npm install
To build the website:
npm run build
and contents will be generated within the /build
directory. To test your build
locally, run:
npm run serve
We are grateful for any community contributions to the documentation as they are the best way of improving the overall user experience. If at any point you believe that something is misleading, could be worded better, or is missing additional information, then please feel free to make a pull request or report an issue.
If you want to contribute to the documentation, please take a look at CONTRIBUTING guide. It contains a detailed overview of the documentation structure and instructions on how to specifically make changes to the content.
For more information about the writing style and the main ideas behind the documentation structure, take a look at the WRITING STYLE guide.