From 246b607d8e8387f249b22fa1c6087b2e28a9d9cf Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Thu, 16 Apr 2020 23:36:17 +0900 Subject: [PATCH] Typo fixes --- mkdocs/acelements.md | 14 +++++++------- mkdocs/achandling.md | 20 ++++++++++---------- mkdocs/acintro.md | 10 +++++----- mkdocs/acjson.md | 12 ++++++------ mkdocs/acupload.md | 12 ++++++------ mkdocs/api.md | 2 +- mkdocs/apiaux.md | 4 ++-- mkdocs/apiextra.md | 2 +- mkdocs/basicusage.md | 22 +++++++++++----------- mkdocs/colorized.md | 2 +- mkdocs/faq.md | 16 ++++++++-------- mkdocs/gettingstarted.md | 4 ++-- mkdocs/howtoembed.md | 12 ++++++------ mkdocs/index.md | 20 ++++++++++---------- mkdocs/menu.md | 10 +++++----- mkdocs/menuize.md | 6 +++--- mkdocs/otabrowser.md | 6 +++--- mkdocs/otaserver.md | 2 +- mkdocs/wojson.md | 6 +++--- 19 files changed, 91 insertions(+), 91 deletions(-) diff --git a/mkdocs/acelements.md b/mkdocs/acelements.md index d4aee5a..8c7348b 100644 --- a/mkdocs/acelements.md +++ b/mkdocs/acelements.md @@ -24,7 +24,7 @@ The [AutoConnectStyle](#autoconnectstyle) will insert the raw CSS code into the ## Form and AutoConnectElements -All AutoConnectElements placed on custom web pages will be contained into one form. Its form is fixed and created by AutoConnect. The form value (usually the text or checkbox you entered) is sent by [AutoConnectSubmit](#autoconnectsubmit) using the **POST** method with HTTP. The post method sends the actual form data which is a query string whose contents are the **name** and **value** of AutoConnectElements. You can retrieve the value for the parameter with the sketch from the query string with [ESP8266WebServer::arg](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer#getting-information-about-request-arguments) function or [PageArgument](https://github.com/Hieromon/PageBuilder#arguments-of-invoked-user-function) class of the [AutoConnect::on](api.md#on) handler when the form is submitted. +All AutoConnectElements placed on custom web pages will be contained into one form. Its form is fixed and created by AutoConnect. The form value (usually the text or checkbox you entered) is sent by [AutoConnectSubmit](#autoconnectsubmit) using the **POST** method with HTTP. The post method sends the actual form data which is a query string whose contents are the **name** and **value** of AutoConnectElements. You can retrieve the value for the parameter with the Sketch from the query string with [ESP8266WebServer::arg](https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266WebServer#getting-information-about-request-arguments) function or [PageArgument](https://github.com/Hieromon/PageBuilder#arguments-of-invoked-user-function) class of the [AutoConnect::on](api.md#on) handler when the form is submitted. ## AutoConnectElement - A basic class of elements @@ -74,7 +74,7 @@ AutoConnectText | AC_Tag_None ### type -The **type** indicates the type of the element and represented as the *ACElement_t* enumeration type in the sketch. Since AutoConnectElement also acts as a variant of other elements, it can be applied to handle elements collectively. At that time, the type can be referred to by the [**typeOf()**](apielements.md#typeof) function. The following example changes the font color of all [AutoConnectText](#autoconnecttext) elements of a custom Web page to gray. +The **type** indicates the type of the element and represented as the *ACElement_t* enumeration type in the Sketch. Since AutoConnectElement also acts as a variant of other elements, it can be applied to handle elements collectively. At that time, the type can be referred to by the [**typeOf()**](apielements.md#typeof) function. The following example changes the font color of all [AutoConnectText](#autoconnecttext) elements of a custom Web page to gray. ```cpp hl_lines="5" AutoConnectAux customPage; @@ -102,7 +102,7 @@ The enumerators for *ACElement_t* are as follows: - AutoConnectText: **AC_Text** - Uninitialized element: **AC_Unknown** -Furthermore, to convert an entity that is not an AutoConnectElement to its native type, you must [re-interpret](https://en.cppreference.com/w/cpp/language/reinterpret_cast) that type with c++. Or, you can be coding the sketch more easily with using the [**as**](apielements.md#ast62) function. +Furthermore, to convert an entity that is not an AutoConnectElement to its native type, you must [re-interpret](https://en.cppreference.com/w/cpp/language/reinterpret_cast) that type with c++. Or, you can be coding the Sketch more easily with using the [**as**](apielements.md#ast62) function. ```cpp hl_lines="6" AutoConnectAux customPage; @@ -241,7 +241,7 @@ Specifies the destination to save the uploaded file. The destination can be spec - **`AC_File_FS`** : Save as the SPIFFS file in flash of ESP8266/ESP32 module. - **`AC_File_SD`** : Save to an external SD device connected to ESP8266/ESP32 module. -- **`AC_File_Extern`** : Pass the content of the uploaded file to the uploader which is declared by the sketch individually. Its uploader must inherit [**AutoConnectUploadHandler**](acupload.md#to-upload-to-a-device-other-than-flash-or-sd) class and implements *_open*, *_write* and *_close* function. +- **`AC_File_Extern`** : Pass the content of the uploaded file to the uploader which is declared by the Sketch individually. Its uploader must inherit [**AutoConnectUploadHandler**](acupload.md#to-upload-to-a-device-other-than-flash-or-sd) class and implements *_open*, *_write* and *_close* function. !!! note "Built-in uploader is ready." AutoConnect already equips the built-in uploader for saving to the SPIFFS as AC_File_FS and the external SD as AC_File_SD. It is already implemented inside AutoConnect and will store uploaded file automatically. @@ -252,7 +252,7 @@ Specifies a tag to add behind the HTML code generated from the element. The defa ## AutoConnectInput -AutoConnectInput generates an HTML `#!html ` tag and a `#!html