Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wemos committed Oct 28, 2019
1 parent 1cf8b8a commit 5ae39ce
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
6 changes: 4 additions & 2 deletions docs/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx-prompt',
'sphinx.ext.intersphinx',
'sphinx.ext.autodoc',
'sphinx.ext.mathjax',
'sphinx.ext.viewcode',
'sphinxcontrib.httpdomain',
'notfound.extension',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx.ext.coverage',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
4 changes: 3 additions & 1 deletion docs/en/tutorials/d1/get_started_with_micropython_d1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Requirements
Flash firmware
************************

.. prompt:: bash $
.. highlight:: bash

::

esptool.py --port PORT_NAME erase_flash
esptool.py --port PORT_NAME --baud 1000000 write_flash --flash_size=4MB -fm qio 0 FIRMWARE.bin
Expand Down
4 changes: 3 additions & 1 deletion docs/en/tutorials/d32/get_started_with_micropython_d32.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Requirements
Flash firmware
************************

.. prompt:: bash $
.. highlight:: bash

::

esptool.py --port PORT_NAME erase_flash
esptool.py --port PORT_NAME --baud 1000000 write_flash -z 0x1000 FIRMWARE.bin
Expand Down
6 changes: 5 additions & 1 deletion docs/en/tutorials/w600/get_started_with_micropython_w600.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ Requirements
Flash firmware
************************

.. prompt:: bash $
.. highlight:: bash

::

w600tool.py -p PORT_NAME --upload-baud 2000000 --upload FIRMWARE.fls



.. note::
Don't forget to change **PORT_NAME** and **FIRMWARE.fls**.

Expand Down
2 changes: 0 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sphinx
sphinxcontrib-httpdomain
sphinx-prompt
sphinx-notfound-page

0 comments on commit 5ae39ce

Please sign in to comment.