- Make sure you've installed all requirements
- Clone this repository:
git clone https://github.com/[username]/[repository]
- Install dependencies using
npm
:
npm i
- Fetch the
Rocket.Chat.Docs
source files, into asrc
directory:
gulp fetch
- Compile assets and serve the transformed pages locally:
gulp
It will also create a build
directory with the static pages.
- Make edits to the files in
src
directory - metalsmith will hot reload and compile your changes
- Test using a browser
- Repeat 1 if required
git push
the tested final changes back toRocket.Chat.Docs
- Gulp (
npm i -g gulp-cli
)