mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
using docker image to build esphome-docs locally (#747)
Co-authored-by: Le Baillif Mickael <mlebaillif@oui.sncf>
This commit is contained in:
parent
fa28902140
commit
25f2a180b3
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user