using docker image to build esphome-docs locally (#747)

Co-authored-by: Le Baillif Mickael <mlebaillif@oui.sncf>
This commit is contained in:
Mickaël Le Baillif 2020-09-22 15:11:37 +02:00 committed by GitHub
parent fa28902140
commit 25f2a180b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -222,9 +222,9 @@ Build
.. code-block:: bash
docker run --rm -v "${PWD}/":/data -p 8000:8000 -it esphome/esphome-docs
docker run --rm -v "${PWD}/":/data/esphomedocs -p 8000:8000 -it esphome/esphome-docs
And then go to ``<CONTAINER_IP>:8000`` in your browser.
With ``PWD`` refering to the root of the ``esphome-docs`` git repository. Then go to ``<CONTAINER_IP>:8000`` in your browser.
This way, you don't have to install the dependencies to build the documentation.