The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process
See: https://github.com/elasticsearch/docs