This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 472ea3f  docs: add missing index of discovery (#3899)
472ea3f is described below

commit 472ea3f1db52677f0c079c73345690a0d2b74d3f
Author: 罗泽轩 <spacewander...@gmail.com>
AuthorDate: Wed Mar 24 16:50:25 2021 +0800

    docs: add missing index of discovery (#3899)
    
    Also remove useless TOC
    
    
    Signed-off-by: spacewander <spacewander...@gmail.com>
---
 docs/en/latest/config.json  |  9 +++++++++
 docs/en/latest/discovery.md | 13 -------------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/docs/en/latest/config.json b/docs/en/latest/config.json
index ff66c66..902ea8a 100644
--- a/docs/en/latest/config.json
+++ b/docs/en/latest/config.json
@@ -147,6 +147,15 @@
       "label": "Others",
       "items": [
         {
+          "type": "category",
+          "label": "Discovery",
+          "items": [
+            "discovery",
+            "discovery/dns",
+            "discovery/consul_kv"
+          ]
+        },
+        {
           "type": "doc",
           "id": "health-check"
         },
diff --git a/docs/en/latest/discovery.md b/docs/en/latest/discovery.md
index b692151..9986723 100644
--- a/docs/en/latest/discovery.md
+++ b/docs/en/latest/discovery.md
@@ -21,19 +21,6 @@ title: Integration service discovery registry
 #
 -->
 
-* [**Summary**](#summary)
-* [**Supported discovery registries**](#supported-discovery-registries)
-* [**How to extend the discovery 
client?**](#how-to-extend-the-discovery-client)
-    * [**Basic steps**](#basic-steps)
-    * [**the example of Eureka**](#the-example-of-eureka)
-        * [**Implementation of eureka.lua**](#implementation-of-eurekalua)
-        * [**How convert Eureka's instance data to APISIX's 
node?**](#how-convert-eurekas-instance-data-to-apisixs-node)
-* [**Configuration for discovery client**](#configuration-for-discovery-client)
-    * [**Initial service discovery**](#initial-service-discovery)
-    * [**Configuration for Eureka**](#configuration-for-eureka)
-* [**Upstream setting**](#upstream-setting)
-* [**Embedded control api for debugging**](#embedded-control-api-for-debugging)
-
 ## Summary
 
 When system traffic changes, the number of servers of the upstream service 
also increases or decreases, or the server needs to be replaced due to its 
hardware failure. If the gateway maintains upstream service information through 
configuration, the maintenance costs in the microservices architecture pattern 
are unpredictable. Furthermore, due to the untimely update of these 
information, will also bring a certain impact for the business, and the impact 
of human error operation can not be  [...]

Reply via email to