Skip to content

Commit 8ecc7f0

Browse files
committed
doc: remove sphinx warnings (fix links and formatting)
1 parent 6d9ec26 commit 8ecc7f0

File tree

9 files changed

+16
-18
lines changed

9 files changed

+16
-18
lines changed

doc/esp8266wifi/generic-class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ A detailed explanation of ``WiFiEventHandler`` can be found in the section with
3535
Alternatively, check the example sketch `WiFiEvents.ino <https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/WiFiEvents/WiFiEvents.ino>`__ available in the examples folder of the ESP8266WiFi library.
3636

3737

38-
.. _wifiOffAtBoot:
3938
persistent
4039
~~~~~~~~~~
4140

@@ -61,6 +60,7 @@ anywhere in the code (it is a weak void function intended to play with the
6160
linker).
6261

6362
.. code:: cpp
63+
6464
void setup () {
6565
#ifdef WIFI_IS_OFF_AT_BOOT
6666
enableWiFiAtBoot(); // can be called from anywhere with the same effect

doc/esp8266wifi/readme.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ WiFi Multi
164164
Example:
165165

166166
.. code:: cpp
167+
167168
#include <ESP8266WiFiMulti.h>
168169
169170
ESP8266WiFiMulti wifiMulti;

doc/faq/a01-espcomm_sync-failed.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ following three things right: 1. Module is provided with enough power,
4141
2. GPIO0, GPIO15 and CH\_PD are connected using pull up / pull down
4242
resistors, 3. Module is put into boot loader mode.
4343

44-
For specific details please refer to section on `Generic ESP8266
45-
modules <../boards.rst#generic-esp8266-modules>`__. Example modules
46-
without USB to serial converter on board are shown below.
44+
For specific details please refer to section on `Generic ESP8266 module <../boards.rst#generic-esp8266-module>`__.
45+
Example modules without USB to serial converter on board are shown below.
4746

4847
.. figure:: pictures/a01-example-boards-without-usb.png
4948
:alt: Example ESP8266 modules without USB to serial converter

doc/faq/a04-board-generic-is-unknown.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ follows:
4848
Error compiling for board Generic ESP8266 Module.
4949

5050
Below is an example messages for
51-
`WeMos <../boards.rst#wemos-d1-r2-mini>`__:
51+
`WeMos <../boards.rst#lolin-wemos-d1-r2-mini>`__:
5252

5353
::
5454

doc/faq/readme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,4 @@ This was WiFi persistence. Starting from version 3 of this core, WiFi is
185185
indeed off at boot and is powered on only when starting to be used with the
186186
regular API.
187187

188-
Read more at :ref:`wifiOffAtBoot <../esp8266wifi/generic-class>`.
188+
Read more at `wifiOffAtBoot <../esp8266wifi/generic-class.rst#persistent>`__.

doc/filesystem.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ Performs the same operation as ``info`` but allows for reporting greater than
474474
4GB for filesystem size/used/etc. Should be used with the SD and SDFS
475475
filesystems since most SD cards today are greater than 4GB in size.
476476

477-
setTimeCallback(time_t (*cb)(void))
478-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
477+
setTimeCallback(time_t (\*cb)(void))
478+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
479479

480480
.. code:: cpp
481481
@@ -574,8 +574,8 @@ rewind
574574

575575
Resets the internal pointer to the start of the directory.
576576

577-
setTimeCallback(time_t (*cb)(void))
578-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
577+
setTimeCallback(time_t (\*cb)(void))
578+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
579579

580580
Sets the time callback for any files accessed from this Dir object via openNextFile.
581581
Note that the SD and SDFS filesystems only support a filesystem-wide callback and
@@ -693,7 +693,7 @@ Close the file. No other operations should be performed on *File* object
693693
after ``close`` function was called.
694694

695695
openNextFile (compatibiity method, not recommended for new code)
696-
~~~~~~~~~~~~
696+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
697697

698698
.. code:: cpp
699699
@@ -705,7 +705,7 @@ Opens the next file in the directory pointed to by the File. Only valid
705705
when ``File.isDirectory() == true``.
706706

707707
rewindDirectory (compatibiity method, not recommended for new code)
708-
~~~~~~~~~~~~~~~
708+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
709709

710710
.. code:: cpp
711711
@@ -718,8 +718,8 @@ rewindDirectory (compatibiity method, not recommended for new code)
718718
Resets the ``openNextFile`` pointer to the top of the directory. Only
719719
valid when ``File.isDirectory() == true``.
720720

721-
setTimeCallback(time_t (*cb)(void))
722-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
721+
setTimeCallback(time_t (\*cb)(void))
722+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
723723

724724
Sets the time callback for this specific file. Note that the SD and
725725
SDFS filesystems only support a filesystem-wide callback and calls to

doc/libraries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Some ESP-specific APIs related to deep sleep, RTC and flash memories are availab
8787

8888
``ESP.getHeapFragmentation()`` returns the fragmentation metric (0% is clean, more than ~50% is not harmless)
8989

90-
``ESP.getMaxFreeBlockSize()`` returns the largest contiguous free RAM block in the heap, useful for checking heap fragmentation. **NOTE:** Maximum ``malloc()``able block will be smaller due to memory manager overheads.
90+
``ESP.getMaxFreeBlockSize()`` returns the largest contiguous free RAM block in the heap, useful for checking heap fragmentation. **NOTE:** Maximum ``malloc()`` -able block will be smaller due to memory manager overheads.
9191

9292
``ESP.getChipId()`` returns the ESP8266 chip ID as a 32-bit integer.
9393

doc/mmu.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,5 +233,3 @@ address range of IRAM or DRAM.
233233
uint8_t mmu_set_uint8(void *p8, const uint8_t val);
234234
uint16_t mmu_set_uint16(uint16_t *p16, const uint16_t val);
235235
int16_t mmu_set_int16(int16_t *p16, const int16_t val);
236-
237-
::

doc/ota_updates/readme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ If signing is desired, sign the gzip compressed file *after* compression.
161161
Updating apps in the field to support compression
162162
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163163

164-
If you have applications deployed in the field and wish to update them to support compressed OTA uploads, you will need to first recompile the application, then _upload the uncompressed `.bin` file once_. Attempting to upload a `gzip` compressed binary to a legacy app will result in the Updater rejecting the upload as it does not understand the `gzip` format. After this initial upload, which will include the new bootloader and `Updater` class with compression support, compressed updates can then be used.
164+
If you have applications deployed in the field and wish to update them to support compressed OTA uploads, you will need to first recompile the application, then _upload the uncompressed `.bin` file once. Attempting to upload a `gzip` compressed binary to a legacy app will result in the Updater rejecting the upload as it does not understand the `gzip` format. After this initial upload, which will include the new bootloader and `Updater` class with compression support, compressed updates can then be used.
165165

166166

167167
Safety

0 commit comments

Comments
 (0)