]> granicus.if.org Git - esp-idf/commitdiff
HTTP Server Docs : Replace http_server with esp_http_server
authorAnurag Kar <anurag.kar@espressif.com>
Wed, 24 Oct 2018 09:55:04 +0000 (15:25 +0530)
committerAnurag Kar <anurag.kar@espressif.com>
Wed, 24 Oct 2018 12:02:43 +0000 (17:32 +0530)
docs/Doxyfile
docs/en/api-reference/protocols/esp_http_server.rst [moved from docs/en/api-reference/protocols/http_server.rst with 98% similarity]
docs/en/api-reference/protocols/index.rst
docs/zh_CN/api-reference/protocols/esp_http_server.rst [new file with mode: 0644]
docs/zh_CN/api-reference/protocols/http_server.rst [deleted file]

index 9fc3e28c11deeee0d8605ac16e829e4bb627b730..aaee15e0deabb5b37e67d124fd145dd16044a3a9 100644 (file)
@@ -97,7 +97,7 @@ INPUT = \
     ## mDNS
     ../../components/mdns/include/mdns.h \
     ../../components/esp_http_client/include/esp_http_client.h \
-    ../../components/http_server/include/http_server.h \
+    ../../components/esp_http_server/include/esp_http_server.h \
     ##
     ## Provisioning - API Reference
     ##
similarity index 98%
rename from docs/en/api-reference/protocols/http_server.rst
rename to docs/en/api-reference/protocols/esp_http_server.rst
index 320dee3f8640829c66035467cfb44a5e6751dbbf..24767e934cdef89c92402da35a7599f226da6644 100644 (file)
@@ -81,7 +81,7 @@ Application Example
             /* Generate default configuration */
             httpd_config_t config = HTTPD_DEFAULT_CONFIG();
 
-            /* Empty handle to http_server */
+            /* Empty handle to esp_http_server */
             httpd_handle_t server = NULL;
 
             /* Start the httpd server */
@@ -154,4 +154,4 @@ Check the example under :example:`protocols/http_server/persistent_sockets`.
 API Reference
 -------------
 
-.. include:: /_build/inc/http_server.inc
+.. include:: /_build/inc/esp_http_server.inc
index 73bb441c43320359e89fb4d72f0f1070ae806b91..fff67481f32011a96a55788c2464415ab78a52b2 100644 (file)
@@ -7,7 +7,7 @@ Protocols API
    mDNS <mdns>
    ESP-TLS <esp_tls>
    HTTP Client <esp_http_client>
-   HTTP Server <http_server>
+   HTTP Server <esp_http_server>
    ASIO <asio>
    ESP-MQTT <mqtt>
    Modbus slave <modbus>
diff --git a/docs/zh_CN/api-reference/protocols/esp_http_server.rst b/docs/zh_CN/api-reference/protocols/esp_http_server.rst
new file mode 100644 (file)
index 0000000..7470556
--- /dev/null
@@ -0,0 +1 @@
+.. include:: ../../../en/api-reference/protocols/esp_http_server.rst
diff --git a/docs/zh_CN/api-reference/protocols/http_server.rst b/docs/zh_CN/api-reference/protocols/http_server.rst
deleted file mode 100644 (file)
index d1b6fc4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.. include:: ../../../en/api-reference/protocols/http_server.rst