You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/18 10:44:43 UTC

[GitHub] [apisix] shuaijinchao commented on a change in pull request #5100: docs: add router-radixtree chinese document.

shuaijinchao commented on a change in pull request #5100:
URL: https://github.com/apache/apisix/pull/5100#discussion_r711573099



##########
File path: docs/zh/latest/router-radixtree.md
##########
@@ -0,0 +1,277 @@
+---
+title: 路由 RadixTree
+---
+
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+### 什么是 libradixtree?
+
+[libradixtree](https://github.com/iresty/lua-resty-radixtree)
+, 是在 `Lua` 中为 `OpenResty` 实现的自适应基数树。
+
+`Apache APISIX` 使用 `libradixtree` 作为路由调度库。
+
+### 如何在 Apache APISIX 中使用 libradixtree?
+
+`libradixtree` 是基于 [rax](https://github.com/antirez/rax) 的 `lua-resty-*` 实现。
+
+我们通过下面的示例可以有一个直观的理解。
+
+#### 1. 完全匹配
+
+```bash

Review comment:
       It is empty in the en version, and not declaring the header will cause local markdownlint to detect abnormalities.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org