summaryrefslogtreecommitdiffstatshomepage
path: root/docs/develop
diff options
context:
space:
mode:
Diffstat (limited to 'docs/develop')
-rw-r--r--docs/develop/extendingmicropython.rst1
-rw-r--r--docs/develop/gettingstarted.rst28
-rw-r--r--docs/develop/index.rst3
-rw-r--r--docs/develop/qstr.rst2
4 files changed, 16 insertions, 18 deletions
diff --git a/docs/develop/extendingmicropython.rst b/docs/develop/extendingmicropython.rst
index 7fb1ae47a0..b4029c421c 100644
--- a/docs/develop/extendingmicropython.rst
+++ b/docs/develop/extendingmicropython.rst
@@ -16,4 +16,3 @@ live in the main MicroPython repository.
cmodules.rst
natmod.rst
- \ No newline at end of file
diff --git a/docs/develop/gettingstarted.rst b/docs/develop/gettingstarted.rst
index 30b26071ea..36062ddc00 100644
--- a/docs/develop/gettingstarted.rst
+++ b/docs/develop/gettingstarted.rst
@@ -4,7 +4,7 @@ Getting Started
===============
This guide covers a step-by-step process on setting up version control, obtaining and building
-a copy of the source code for a port, building the documentation, running tests, and a description of the
+a copy of the source code for a port, building the documentation, running tests, and a description of the
directory structure of the MicroPython code base.
Source control with git
@@ -16,7 +16,7 @@ code is pulled and pushed to and from the main repository. Install the respectiv
of Git for your operating system to follow through the rest of the steps.
.. note::
- For a reference on the installation instructions, please refer to
+ For a reference on the installation instructions, please refer to
the `Git installation instructions <https://git-scm.com/book/en/v2/Getting-Started-Installing-Git>`_.
Learn about the basic git commands in this `Git Handbook <https://guides.github.com/introduction/git-handbook/>`_
or any other sources on the internet.
@@ -58,12 +58,12 @@ MicroPython repository.
After the above configuration, your setup should be similar to this:
.. code-block:: bash
-
+
$ git remote -v
- origin https://github.com/<your-user-name>/micropython (fetch)
- origin https://github.com/<your-user-name>/micropython (push)
- upstream https://github.com/micropython/micropython (fetch)
- upstream https://github.com/micropython/micropython (push)
+ origin https://github.com/<your-user-name>/micropython (fetch)
+ origin https://github.com/<your-user-name>/micropython (push)
+ upstream https://github.com/micropython/micropython (fetch)
+ upstream https://github.com/micropython/micropython (push)
You should now have a copy of the source code. By default, you are pointing
to the master branch. To prepare for further development, it is recommended
@@ -73,7 +73,7 @@ to work on a development branch.
$ git checkout -b dev-branch
-You can give it any name. You will have to compile MicroPython whenever you change
+You can give it any name. You will have to compile MicroPython whenever you change
to a different branch.
Compile and build the code
@@ -140,8 +140,8 @@ If it built successfully, you should see a message similar to this:
.. code-block:: bash
LINK mpy-cross
- text data bss dec hex filename
- 279328 776 880 280984 44998 mpy-cross
+ text data bss dec hex filename
+ 279328 776 880 280984 44998 mpy-cross
.. note::
@@ -181,8 +181,8 @@ If MicroPython built correctly, you should see the following:
.. code-block:: bash
LINK micropython
- text data bss dec hex filename
- 412033 5680 2496 420209 66971 micropython
+ text data bss dec hex filename
+ 412033 5680 2496 420209 66971 micropython
Now run it:
@@ -215,7 +215,7 @@ as detailed in the :ref:`required_dependencies` section, then build:
$ make submodules
$ make
-Please refer to the `stm32 documentation <https://github.com/micropython/micropython/tree/master/ports/stm32>`_
+Please refer to the `stm32 documentation <https://github.com/micropython/micropython/tree/master/ports/stm32>`_
for more details on flashing the firmware.
.. note::
@@ -259,7 +259,7 @@ Build the docs:
$ make html
-Open ``docs/build/html/index.html`` in your browser to view the docs locally. Refer to the
+Open ``docs/build/html/index.html`` in your browser to view the docs locally. Refer to the
documentation on `importing your documentation
<https://docs.readthedocs.io/en/stable/intro/import-guide.html>`_ to use Read the Docs.
diff --git a/docs/develop/index.rst b/docs/develop/index.rst
index 7a6a6be67c..327038f197 100644
--- a/docs/develop/index.rst
+++ b/docs/develop/index.rst
@@ -5,7 +5,7 @@ This chapter covers a tour of MicroPython from the perspective of a developer, c
to MicroPython. It acts as a comprehensive resource on the implementation details of MicroPython
for both novice and expert contributors.
-Development around MicroPython usually involves modifying the core runtime, porting or
+Development around MicroPython usually involves modifying the core runtime, porting or
maintaining a new library. This guide describes at great depth, the implementation
details of MicroPython including a getting started guide, compiler internals, porting
MicroPython to a new platform and implementing a core MicroPython library.
@@ -24,4 +24,3 @@ MicroPython to a new platform and implementing a core MicroPython library.
publiccapi.rst
extendingmicropython.rst
porting.rst
- \ No newline at end of file
diff --git a/docs/develop/qstr.rst b/docs/develop/qstr.rst
index cd1fc47862..5d1ac5bb4a 100644
--- a/docs/develop/qstr.rst
+++ b/docs/develop/qstr.rst
@@ -59,7 +59,7 @@ Processing happens in the following stages:
information. Note that this step only uses files that have changed, which
means that ``qstr.i.last`` will only contain data from files that have
changed since the last compile.
-
+
2. ``qstr.split`` is an empty file created after running ``makeqstrdefs.py split``
on qstr.i.last. It's just used as a dependency to indicate that the step ran.
This script outputs one file per input C file, ``genhdr/qstr/...file.c.qstr``,