Skip to content

Commit aec88dd

Browse files
jason-nealdpgeorge
authored andcommitted
docs: More consistent capitalization and use of articles in headings.
See issue micropython#3188.
1 parent de78a9e commit aec88dd

File tree

14 files changed

+33
-33
lines changed

14 files changed

+33
-33
lines changed

docs/develop/cmodules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ A MicroPython user C module is a directory with the following files:
5454
See below for full usage example.
5555

5656

57-
Basic Example
57+
Basic example
5858
-------------
5959

6060
This simple module named ``example`` provides a single function

docs/esp32/quickref.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ For low-level driving of a NeoPixel::
435435
``NeoPixel`` object.
436436

437437

438-
Capacitive Touch
438+
Capacitive touch
439439
----------------
440440

441441
Use the ``TouchPad`` class in the ``machine`` module::

docs/library/esp32.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ For more details see Espressif's `ESP-IDF RMT documentation.
173173
stream starts at 0 or 1.
174174

175175

176-
The Ultra-Low-Power co-processor
177-
--------------------------------
176+
Ultra-Low-Power co-processor
177+
----------------------------
178178

179179
.. class:: ULP()
180180

docs/library/framebuf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:mod:`framebuf` --- Frame buffer manipulation
1+
:mod:`framebuf` --- frame buffer manipulation
22
=============================================
33

44
.. module:: framebuf

docs/pyboard/tutorial/switch.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _pyboard_tutorial_switch:
22

3-
The Switch, callbacks and interrupts
4-
====================================
3+
Switches, callbacks and interrupts
4+
==================================
55

66
The pyboard has 2 small switches, labelled USR and RST. The RST switch
77
is a hard-reset switch, and if you press it then it restarts the pyboard

docs/reference/asm_thumb2_directives.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Assembler Directives
1+
Assembler directives
22
====================
33

44
Labels

docs/reference/asm_thumb2_float.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Floating Point instructions
2-
==============================
1+
Floating point instructions
2+
===========================
33

44
These instructions support the use of the ARM floating point coprocessor
55
(on platforms such as the Pyboard which are equipped with one). The FPU
@@ -61,7 +61,7 @@ Where ``[Rn + offset]`` denotes the memory address obtained by adding Rn to the
6161
is specified in bytes. Since each float value occupies a 32 bit word, when accessing arrays of
6262
floats the offset must always be a multiple of four bytes.
6363

64-
Data Comparison
64+
Data comparison
6565
---------------
6666

6767
* vcmp(Sd, Sm)

docs/reference/asm_thumb2_index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _asm_thumb2_index:
22

3-
Inline Assembler for Thumb2 architectures
3+
Inline assembler for Thumb2 architectures
44
=========================================
55

66
This document assumes some familiarity with assembly language programming and should be read after studying
@@ -25,7 +25,7 @@ This enables the effect of instructions to be demonstrated in Python. In certain
2525
because Python doesn't support concepts such as indirection. The pseudocode employed in such cases is
2626
described on the relevant page.
2727

28-
Instruction Categories
28+
Instruction categories
2929
----------------------
3030

3131
The following sections details the subset of the ARM Thumb-2 instruction set supported by MicroPython.

docs/reference/asm_thumb2_logical_bit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Logical & Bitwise instructions
1+
Logical & bitwise instructions
22
==============================
33

44
Document conventions

docs/reference/constrained.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _constrained:
22

3-
MicroPython on Microcontrollers
3+
MicroPython on microcontrollers
44
===============================
55

66
MicroPython is designed to be capable of running on microcontrollers. These
@@ -12,7 +12,7 @@ based on a variety of architectures, the methods presented are generic: in some
1212
cases it will be necessary to obtain detailed information from platform specific
1313
documentation.
1414

15-
Flash Memory
15+
Flash memory
1616
------------
1717

1818
On the Pyboard the simple way to address the limited capacity is to fit a micro
@@ -58,7 +58,7 @@ heap fragmentation. In general terms it is best to minimise the repeated
5858
creation and destruction of objects. The reason for this is covered in the
5959
section covering the `heap`_.
6060

61-
Compilation Phase
61+
Compilation phase
6262
~~~~~~~~~~~~~~~~~
6363

6464
When a module is imported, MicroPython compiles the code to bytecode which is
@@ -85,7 +85,7 @@ imported in the usual way. Alternatively some or all modules may be implemented
8585
as frozen bytecode: on most platforms this saves even more RAM as the bytecode
8686
is run directly from flash rather than being stored in RAM.
8787

88-
Execution Phase
88+
Execution phase
8989
~~~~~~~~~~~~~~~
9090

9191
There are a number of coding techniques for reducing RAM usage.
@@ -292,7 +292,7 @@ The Q(xxx) lines should be gone.
292292

293293
.. _heap:
294294

295-
The Heap
295+
The heap
296296
--------
297297

298298
When a running program instantiates an object the necessary RAM is allocated
@@ -391,7 +391,7 @@ Symbol Meaning
391391
Each letter represents a single block of memory, a block being 16 bytes. So each
392392
line of the heap dump represents 0x400 bytes or 1KiB of RAM.
393393

394-
Control of Garbage Collection
394+
Control of garbage collection
395395
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
396396

397397
A GC can be demanded at any time by issuing `gc.collect()`. It is advantageous
@@ -420,7 +420,7 @@ initialisation the compiler may be starved of RAM when subsequent modules are
420420
imported. If modules do instantiate data on import then `gc.collect()` issued
421421
after the import will ameliorate the problem.
422422

423-
String Operations
423+
String operations
424424
-----------------
425425

426426
MicroPython handles strings in an efficient manner and understanding this can

0 commit comments

Comments
 (0)