From fb48636a329d41442c9ed15d76ee4e25e4f93a7b Mon Sep 17 00:00:00 2001 From: sinkhaha <1468709106@qq.com> Date: Fri, 7 Jun 2024 09:50:25 +0800 Subject: [PATCH] docs: update docs (#5317) update document link display error closes /~https://github.com/eggjs/egg/issues/5318 --- site/docs/advanced/loader.md | 10 +++++----- site/docs/advanced/loader.zh-CN.md | 6 +++--- site/docs/core/httpclient.md | 16 +++++++++------- site/docs/core/httpclient.zh-CN.md | 14 +++++++------- 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/site/docs/advanced/loader.md b/site/docs/advanced/loader.md index 7c533f01eb..8836cfc009 100644 --- a/site/docs/advanced/loader.md +++ b/site/docs/advanced/loader.md @@ -530,9 +530,9 @@ module.exports = { } }, }; -`` - -[Loader]: /~https://github.com/eggjs/egg-core/blob/master/lib/loader/egg_loader.js -[AppWorkerLoader]: /~https://github.com/eggjs/egg/blob/master/lib/loader/app_worker_loader.js -[AgentWorkerLoader]: /~https://github.com/eggjs/egg/blob/master/lib/loader/agent_worker_loader.js ``` +## Reference Links +- [Loader](/~https://github.com/eggjs/egg-core/blob/master/lib/loader/egg_loader.js) +- [AppWorkerLoader](/~https://github.com/eggjs/egg/blob/master/lib/loader/app_worker_loader.js) +- [AgentWorkerLoader](/~https://github.com/eggjs/egg/blob/master/lib/loader/agent_worker_loader.js) + diff --git a/site/docs/advanced/loader.zh-CN.md b/site/docs/advanced/loader.zh-CN.md index c6e8d3903b..074a23a284 100644 --- a/site/docs/advanced/loader.zh-CN.md +++ b/site/docs/advanced/loader.zh-CN.md @@ -535,6 +535,6 @@ module.exports = { ``` 参考链接: -- [loader]: /~https://github.com/eggjs/egg-core/blob/master/lib/loader/egg_loader.js -- [appworkerloader]: /~https://github.com/eggjs/egg/blob/master/lib/loader/app_worker_loader.js -- [agentworkerloader]: /~https://github.com/eggjs/egg/blob/master/lib/loader/agent_worker_loader.js \ No newline at end of file +- [loader](/~https://github.com/eggjs/egg-core/blob/master/lib/loader/egg_loader.js) +- [appworkerloader](/~https://github.com/eggjs/egg/blob/master/lib/loader/app_worker_loader.js) +- [agentworkerloader](/~https://github.com/eggjs/egg/blob/master/lib/loader/agent_worker_loader.js) \ No newline at end of file diff --git a/site/docs/core/httpclient.md b/site/docs/core/httpclient.md index 2653afdce5..184a4690f6 100644 --- a/site/docs/core/httpclient.md +++ b/site/docs/core/httpclient.md @@ -797,10 +797,12 @@ app.httpclient.on('response', (result) => { Full examples can be found on [eggjs/examples/httpclient](/~https://github.com/eggjs/examples/blob/master/httpclient) . -[urllib]: /~https://github.com/node-modules/urllib -[httpclient]: /~https://github.com/eggjs/egg/blob/master/lib/core/httpclient.js -[formstream]: /~https://github.com/node-modules/formstream -[http]: https://nodejs.org/api/http.html -[https]: https://nodejs.org/api/https.html -[charles]: https://www.charlesproxy.com/ -[fiddler]: http://www.telerik.com/fiddler + +Other Reference Links +- [urllib](/~https://github.com/node-modules/urllib) +- [httpclient](/~https://github.com/eggjs/egg/blob/master/lib/core/httpclient.js) +- [formstream](/~https://github.com/node-modules/formstream) +- [http](https://nodejs.org/api/http.html) +- [https](https://nodejs.org/api/https.html) +- [charles](https://www.charlesproxy.com/) +- [fiddler](http://www.telerik.com/fiddler) diff --git a/site/docs/core/httpclient.zh-CN.md b/site/docs/core/httpclient.zh-CN.md index 5276a96a08..6e3065755e 100644 --- a/site/docs/core/httpclient.zh-CN.md +++ b/site/docs/core/httpclient.zh-CN.md @@ -776,10 +776,10 @@ app.httpclient.on('response', (result) => { 完整示例代码可以在 [eggjs/examples/httpclient](/~https://github.com/eggjs/examples/blob/master/httpclient) 找到。 其他参考链接: -- [urllib]: /~https://github.com/node-modules/urllib -- [httpclient]: /~https://github.com/eggjs/egg/blob/master/lib/core/httpclient.js -- [formstream]: /~https://github.com/node-modules/formstream -- [http]: https://nodejs.org/api/http.html -- [https]: https://nodejs.org/api/https.html -- [charles]: https://www.charlesproxy.com/ -- [fiddler]: http://www.telerik.com/fiddler +- [urllib](/~https://github.com/node-modules/urllib) +- [httpclient](/~https://github.com/eggjs/egg/blob/master/lib/core/httpclient.js) +- [formstream](/~https://github.com/node-modules/formstream) +- [http](https://nodejs.org/api/http.html) +- [https](https://nodejs.org/api/https.html) +- [charles](https://www.charlesproxy.com/) +- [fiddler](http://www.telerik.com/fiddler)