membphis commented on a change in pull request #1351: feature: remove `lua` dir.
URL: https://github.com/apache/incubator-apisix/pull/1351#discussion_r400903722
 
 

 ##########
 File path: doc/plugin-develop-cn.md
 ##########
 @@ -48,14 +48,14 @@
 
 插件本身提供了 init 方法。方便插件加载后做初始化动作。
 
-注:如果部分插件的功能实现,需要在 Nginx 初始化启动,则可能需要在 __lua/apisix.lua__ 文件的初始化方法 http_init 
中添加逻辑,并且
+注:如果部分插件的功能实现,需要在 Nginx 初始化启动,则可能需要在 __apisix.lua__ 文件的初始化方法 http_init 中添加逻辑,并且
     可能需要在 __bin/apisix__ 文件中,对 Nginx 配置文件生成的部分,添加一些你需要的处理。但是这样容易对全局产生影响,根据现有的
     插件机制,我们不建议这样做,除非你已经对代码完全掌握。
 
 ## 插件命名与配置
 
 给插件取一个很棒的名字,确定插件的加载优先级,然后在 __conf/config.yaml__ 文件中添加上你的插件名。例如 key-auth 这个插件,
-需要在代码里指定插件名称(名称是插件的唯一标识,不可重名),在 __lua/apisix/plugins/key-auth.lua__ 文件中可以看到:
+需要在代码里指定插件名称(名称是插件的唯一标识,不可重名),在 __apisix/plugins/key-auth.lua__ 文件中可以看到:
 
 Review comment:
   ditoo

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to