This repository contains the source and built documentation for Layer0.
The built documentation is served at layer0.ims.io, which displays the contents of the docs/ directory in this repo's master branch.
There is a make target to use if you wish to serve the docs locally:
make serveChanges should be made within the docs-src/ directory.
In order for these changes to be servable, we build the source doc files into the docs/ directory using mkdocs.
A shortcut exists in the Makefile:
make buildIf you're missing a dependency, the Makefile can help with that, too:
make depsThere are a couple of points in the documentation that must be updated when a new Layer0 version is released. To save some pain, there is some automation around this in the form of a Makefile.
- Export the newly-released Layer0 semver tag as the
L0_VERSIONenvironment variable:
export L0_VERSION="v9.9.9"(Substitute the actual semantic version, of course, not just "v9.9.9")
- Run the
releasetarget:
make release- Make sure to add and commit the changes in both the
docs-src/anddocs/directories.
