The XOS documentation is generated using GitBooks and you can learn more about the GitBooks Toolchain here
If you have NodeJs installed in your system, you can easily install the gitbook-cli
using:
npm install gitbook-cli -g
and then serve the documentation with:
gitbook serve