This repo builds a static site for SmartOS documentation. This replaces the old confluence based wiki.
There are two directories of note.
docs- the markdown docs. This gets rendered to the site.
confluence-export- An HTML export of the confluence content. This is for reference purposes and will likely be removed once all of the content is converted.
There are very few external dependencies. Most needed tools will be installed internally to the repo. You'll need the following available:
- node.js (>=8)
It's recommended to get these from pkgsrc, but you may get them from elsewhere if you choose.
pkgin -y install git nodejs-8 python-3.7 py37-pip py37-virtualenv
After you have the external dependencies installed, install the internal dependencies
Pull requests welcome! Unlike other Joyent repositories, this repo only uses github pull requests in order to make it as easy to contribute as possible.
Please feel free to update anything that needs fixing and send us a pull
request. Pull requests must pass
make check before they'll be approved.
Once merged, changes should show up on the live site within about five minutes.
Before submitting a pull request, you should run ensure that your changes will
make check, and run
make serve and check it with your local browser
to make sure that everything looks the way you expect. Pull requests that do
make check will not be merged.