[DOCS] Updated doc info in readme
Original commit: elastic/x-pack-elasticsearch@f42672323e51f158874e3a2be8c5a4c64aefe0a2
@@ -97,28 +97,21 @@ gradle clean install
= Building documentation
-The source files in this repository can be included in either the X-Pack Reference or the Elasticsearch Reference.
+The source files in this repository can be included in either the X-Pack
+Reference or the Elasticsearch Reference.
-NOTE: In 5.5 and later, the Elasticsearch Reference includes X-Pack-specific content when it is built from this repo.
+NOTE: In 5.4 and later, the Elasticsearch Reference includes X-Pack-specific
+content that is pulled from this repo.
-To build the Elasticsearch Reference on your local machine:
-
-* Use the `index.asciidoc` file in the docs/en directory.
-* Specify the location of the `elasticsearch/docs` directory with the `--resource` option when you run `build_docs.pl`.
-
-For example:
-
-[source, txt]
------
-./docs/build_docs.pl --doc elasticsearch-extra/x-pack-elasticsearch/docs/en/index.asciidoc
---resource=elasticsearch/docs --chunk 1
------
-
-For information about building the X-Pack Reference, see the README in the x-pack repo.
+To build the Elasticsearch Reference on your local machine, use the `docbldes`
+or `docbldesx` build commands defined in
+https://github.com/elastic/docs/blob/master/doc_build_aliases.sh
== Adding Images
-When you include an image in the documentation, specify the path relative to the location of the asciidoc file. By convention, we put images in an `images` subdirectory.
+When you include an image in the documentation, specify the path relative to the
+location of the asciidoc file. By convention, we put images in an `images`
+subdirectory.
For example to insert `watcher-ui-edit-watch.png` in `watcher/limitations.asciidoc`:
@@ -130,4 +123,5 @@ For example to insert `watcher-ui-edit-watch.png` in `watcher/limitations.asciid
image::images/watcher-ui-edit-watch.png["Editing a watch"]
-----
-Please note that image names and anchor IDs must be unique within the book, so do not use generic identifiers.
+Please note that image names and anchor IDs must be unique within the book, so
+do not use generic identifiers.
