This doc walks you through the process of setting up your environment to contribute to Materialize's documentation.
This doc is a WIP. There is more useful information in the README.
You should (or must) perform your work on your own fork of Materialize.
Fork https://github.com/materializeinc/materialize. You can do this by going to that address and clicking Fork.
Move to the directory where you want to work, and clone your fork to your local machine:
git clone git@github.com:<you>/materialize.git
Move into the materialize
directory:
cd materialize
Set materializeinc/materialize
as your upstream
remote:
git remote add upstream git@github.com:MaterializeInc/materialize.git
This will give you your own workspace to use while still giving you the ability
to git pull
the latest version of Materialize.
Launch the site by running:
cd doc/user
hugo server -D
If you're making changes to the site, you might want a more cache-busting version:
hugo server --disableFastRender --ignoreCache
Open http://localhost:1313.
You can also read the documentation in Markdown in the content
directory,
though some features like our SQL syntax diagrams will not be readily
accessible.