Skip to content

Commit

Permalink
chore(zh): fix more broken links to lean area in page/menu/sidebar ma…
Browse files Browse the repository at this point in the history
…cros (#25215)
  • Loading branch information
yin1999 authored Dec 25, 2024
1 parent 35b1c99 commit 4251264
Show file tree
Hide file tree
Showing 16 changed files with 39 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Boilerplate 1
slug: Web/API/WebGL_API/By_example/Boilerplate_1
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Canvas_size_and_WebGL","Learn/WebGL/By_example/Scissor_animation")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Canvas_size_and_WebGL","Web/API/WebGL_API/By_example/Scissor_animation")}}

这个例子描述了从现在开始将要隐藏重复的代码片断,以及定义一个 JavaScript 函数复用以简化 WebGL 初始化。

Expand Down Expand Up @@ -73,4 +73,4 @@ function getRenderingContext() {

The source code of this example is also available on [GitHub](https://github.com/idofilin/webgl-by-example/tree/master/boilerplate-1).

{{PreviousNext("Learn/WebGL/By_example/Canvas_size_and_WebGL","Learn/WebGL/By_example/Scissor_animation")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Canvas_size_and_WebGL","Web/API/WebGL_API/By_example/Scissor_animation")}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Canvas size and WebGL
slug: Web/API/WebGL_API/By_example/Canvas_size_and_WebGL
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Basic_scissoring","Learn/WebGL/By_example/Boilerplate_1")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Basic_scissoring","Web/API/WebGL_API/By_example/Boilerplate_1")}}

此 WebGL 案例将探究设置(或不设置)Canvas 属性的宽高值在浏览器中显示的影响。

Expand Down Expand Up @@ -71,4 +71,4 @@ window.addEventListener(

The source code of this example is also available on [GitHub](https://github.com/idofilin/webgl-by-example/tree/master/canvas-size-and-webgl).

{{PreviousNext("Learn/WebGL/By_example/Basic_scissoring","Learn/WebGL/By_example/Boilerplate_1")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Basic_scissoring","Web/API/WebGL_API/By_example/Boilerplate_1")}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Clearing by clicking
slug: Web/API/WebGL_API/By_example/Clearing_by_clicking
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Clearing_with_colors","Learn/WebGL/By_example/Simple_color_animation")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Clearing_with_colors","Web/API/WebGL_API/By_example/Simple_color_animation")}}

此示例演示了如何通过用户单击时用随机颜色渲染上下文来将用户交互与 WebGL 图形操作结合起来。

Expand Down Expand Up @@ -106,4 +106,4 @@ window.addEventListener(

这个例子的代码可以在 [GitHub](https://github.com/idofilin/webgl-by-example/tree/master/clearing-by-clicking) 上下载。

{{PreviousNext("Learn/WebGL/By_example/Clearing_with_colors","Learn/WebGL/By_example/Simple_color_animation")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Clearing_with_colors","Web/API/WebGL_API/By_example/Simple_color_animation")}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 清除画布
slug: Web/API/WebGL_API/By_example/Clearing_with_colors
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Detect_WebGL","Learn/WebGL/By_example/Clearing_by_clicking")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Detect_WebGL","Web/API/WebGL_API/By_example/Clearing_by_clicking")}}

这个例子将展示如何用一个单色清除画布

Expand Down Expand Up @@ -87,4 +87,4 @@ window.addEventListener(

这个例子的代码可以在 [GitHub](https://github.com/idofilin/webgl-by-example/tree/master/clearing-with-colors) 上下载。

{{PreviousNext("Learn/WebGL/By_example/Detect_WebGL","Learn/WebGL/By_example/Clearing_by_clicking")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Detect_WebGL","Web/API/WebGL_API/By_example/Clearing_by_clicking")}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 检测 WebGL
slug: Web/API/WebGL_API/By_example/Detect_WebGL
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example","Learn/WebGL/By_example/Clearing_with_colors")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example","Web/API/WebGL_API/By_example/Clearing_with_colors")}}

这个例子演示了如何通过渲染上下文来检测{{Glossary("WebGL")}},并将结果报告给用户。

Expand Down Expand Up @@ -66,4 +66,4 @@ window.addEventListener(

这个例子的源代码可以在[GitHub](https://github.com/idofilin/webgl-by-example/tree/master/detect-webgl)上获取。

{{PreviousNext("Learn/WebGL/By_example","Learn/WebGL/By_example/Clearing_with_colors")}}
{{PreviousNext("Web/API/WebGL_API/By_example","Web/API/WebGL_API/By_example/Clearing_with_colors")}}
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/webgl_api/by_example/hello_glsl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Hello GLSL
slug: Web/API/WebGL_API/By_example/Hello_GLSL
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Raining_rectangles","Learn/WebGL/By_example/Hello_vertex_attributes")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Raining_rectangles","Web/API/WebGL_API/By_example/Hello_vertex_attributes")}}

该例子将演示一个绘制固态颜色的矩形的简单着色器程序。

Expand Down Expand Up @@ -149,4 +149,4 @@ function getRenderingContext() {

该例子的源代码能在 [GitHub](https://github.com/idofilin/webgl-by-example/tree/master/hello-glsl)获得。

{{PreviousNext("Learn/WebGL/By_example/Raining_rectangles","Learn/WebGL/By_example/Hello_vertex_attributes")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Raining_rectangles","Web/API/WebGL_API/By_example/Hello_vertex_attributes")}}
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/webgl_api/by_example/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: WebGL 的例子
slug: Web/API/WebGL_API/By_example
---

{{Next("Learn/WebGL/By_example/Detect_WebGL")}}
{{DefaultAPISidebar("WebGL")}}{{Next("Web/API/WebGL_API/By_example/Detect_WebGL")}}

WebGL *例子*是一系列附有简短的解释的样本用来展示 WebGL 的概念和功能。这些示例根据主题和难度级别进行排序,涵盖 WebGL 渲染上下文,着色器编程,纹理,几何图形,用户交互等。

Expand Down Expand Up @@ -52,4 +52,4 @@ WebGL *例子*是一系列附有简短的解释的样本用来展示 WebGL 的
- [Video textures](/zh-CN/docs/Web/API/WebGL_API/By_example/Video_textures)
- : This example demonstrates how to use video files as textures.

{{Next("Learn/WebGL/By_example/Detect_WebGL")}}
{{Next("Web/API/WebGL_API/By_example/Detect_WebGL")}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Scissor animation
slug: Web/API/WebGL_API/By_example/Scissor_animation
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Boilerplate_1","Learn/WebGL/By_example/Raining_rectangles")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Boilerplate_1","Web/API/WebGL_API/By_example/Raining_rectangles")}}

使用剪切和清除操作实现一些动画的简单 WebGL 的例子。

Expand Down Expand Up @@ -153,4 +153,4 @@ function getRenderingContext() {

The source code of this example is also available on [GitHub](https://github.com/idofilin/webgl-by-example/tree/master/scissor-animation).

{{PreviousNext("Learn/WebGL/By_example/Boilerplate_1","Learn/WebGL/By_example/Raining_rectangles")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Boilerplate_1","Web/API/WebGL_API/By_example/Raining_rectangles")}}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Simple color animation
slug: Web/API/WebGL_API/By_example/Simple_color_animation
---

{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Learn/WebGL/By_example/Clearing_by_clicking","Learn/WebGL/By_example/Color_masking")}}
{{DefaultAPISidebar("WebGL")}}{{PreviousNext("Web/API/WebGL_API/By_example/Clearing_by_clicking","Web/API/WebGL_API/By_example/Color_masking")}}

这是一个非常基础的{{Glossary("WebGL")}}色彩动画案例,通过定时器来逐秒填充不同的颜色来实现。

Expand Down Expand Up @@ -115,4 +115,4 @@ window.addEventListener(

[GitHub](https://github.com/idofilin/webgl-by-example/tree/master/simple-color-animation).上查看源码

{{PreviousNext("Learn/WebGL/By_example/Clearing_by_clicking","Learn/WebGL/By_example/Color_masking")}}
{{PreviousNext("Web/API/WebGL_API/By_example/Clearing_by_clicking","Web/API/WebGL_API/By_example/Color_masking")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ slug: Learn_web_development/Core/Frameworks_libraries/Angular_building
original_slug: Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Angular_building
---

{{LearnSidebar}}{{PreviousMenu("Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Angular_filtering", "Learn/Tools_and_testing/Client-side_JavaScript_frameworks")}}
{{LearnSidebar}}

{{PreviousMenu("Learn_web_development/Core/Frameworks_libraries/Angular_filtering", "Learn_web_development/Core/Frameworks_libraries")}}

這篇文章內容涵蓋,如何建立一個生產版本(production)的應用程式,以及提供後續的學習資源。

Expand Down Expand Up @@ -69,4 +71,4 @@ ng build -c production

以上。希望你喜歡 Angular!

{{PreviousMenu("Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Angular_filtering", "Learn/Tools_and_testing/Client-side_JavaScript_frameworks")}}
{{PreviousMenu("Learn_web_development/Core/Frameworks_libraries/Angular_filtering", "Learn_web_development/Core/Frameworks_libraries")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ slug: Learn_web_development/Core/Scripting/Image_gallery
original_slug: Learn/JavaScript/Building_blocks/Image_gallery
---

{{LearnSidebar}}{{PreviousMenu("Learn/JavaScript/Building_blocks/Events", "Learn/JavaScript/Building_blocks")}}
{{LearnSidebar}}

{{PreviousMenuNext("Learn_web_development/Core/Scripting/Event_bubbling","Learn_web_development/Core/Scripting/Object_basics", "Learn_web_development/Core/Scripting")}}

現在我們已經看過了基本的 JavaScript 組建,我們將讓你做一個測試,從建立一個在很多網站上常見的事物 — JavaScript 基礎的影像圖庫,來測試你對迴圈、函數、條件式及事件的知識。

Expand Down Expand Up @@ -106,4 +108,4 @@ overlay.style.backgroundColor = xxx;

If you are following this assessment as part of an organized course, you should be able to give your work to your teacher/mentor for marking. If you are self-learning, then you can get the marking guide fairly easily by asking on the [Learning Area Discourse thread](https://discourse.mozilla-community.org/t/learning-web-development-marking-guides-and-questions/16294), or in the [#mdn](irc://irc.mozilla.org/mdn) IRC channel on [Mozilla IRC](https://wiki.mozilla.org/IRC). Try the exercise first — there is nothing to be gained by cheating!

{{PreviousMenu("Learn/JavaScript/Building_blocks/Events", "Learn/JavaScript/Building_blocks")}}
{{PreviousMenuNext("Learn_web_development/Core/Scripting/Event_bubbling","Learn_web_development/Core/Scripting/Object_basics", "Learn_web_development/Core/Scripting")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ slug: Learn_web_development/Core/Scripting/Silly_story_generator
original_slug: Learn/JavaScript/First_steps/Silly_story_generator
---

{{LearnSidebar}}{{PreviousMenu("Learn/JavaScript/First_steps/Arrays", "Learn/JavaScript/First_steps")}}
{{LearnSidebar}}

{{PreviousMenuNext("Learn_web_development/Core/Scripting/Arrays", "Learn_web_development/Core/Scripting/Conditionals", "Learn_web_development/Core/Scripting")}}

在本次評估中,你被賦予的任務內容將與本單元學習到的知識息息相關,並將其應用於創建一個能隨機生成傻故事的有趣應用程式。 祝玩的開心!

Expand Down Expand Up @@ -107,4 +109,4 @@ original_slug: Learn/JavaScript/First_steps/Silly_story_generator

如果你將這個測驗視為正規課程的一部分,建議將成果提供你的老師或指導者以利幫助你達到最好的學習效益。如果你是自學者,你可以輕鬆的透過右方網頁 [discussion thread for this exercise](https://discourse.mozilla.org/t/silly-story-generator-assessment/24686) 得到建議,或者在[Mozilla IRC](https://wiki.mozilla.org/IRC)上的 [#mdn](irc://irc.mozilla.org/mdn) IRC 頻道。提醒你:第一次嘗試這個測驗時,作弊可不會得到任何收穫喔!

{{PreviousMenu("Learn/JavaScript/First_steps/Arrays", "Learn/JavaScript/First_steps")}}
{{PreviousMenuNext("Learn_web_development/Core/Scripting/Arrays", "Learn_web_development/Core/Scripting/Conditionals", "Learn_web_development/Core/Scripting")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ slug: Learn_web_development/Extensions/Server-side/Django/django_assessment_blog
original_slug: Learn/Server-side/Django/django_assessment_blog
---

{{LearnSidebar}}{{PreviousMenu("Learn/Server-side/Django/web_application_security", "Learn/Server-side/Django")}}
{{LearnSidebar}}{{PreviousMenu("Learn_web_development/Extensions/Server-side/Django/web_application_security", "Learn_web_development/Extensions/Server-side/Django")}}

在這個評估中,你將使用你在 [Django Web Framework (Python)](/zh-TW/docs/Learn_web_development/Extensions/Server-side/Django) 模組中獲得的知識,來創建一個非常基本的部落格。

Expand Down Expand Up @@ -281,4 +281,4 @@ The assessment for this task is [available on Github here](https://github.com/md

Once you've completed this module you've also finished all the MDN content for learning basic Django server-side website programming! We hope you enjoyed this module and feel you have a good grasp of the basics!

{{PreviousMenu("Learn/Server-side/Django/web_application_security", "Learn/Server-side/Django")}}
{{PreviousMenu("Learn_web_development/Extensions/Server-side/Django/web_application_security", "Learn_web_development/Extensions/Server-side/Django")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ slug: Learn_web_development/Extensions/Server-side/Express_Nodejs/deployment
original_slug: Learn/Server-side/Express_Nodejs/deployment
---

{{LearnSidebar}}{{PreviousMenu("Learn/Server-side/Express_Nodejs/forms", "Learn/Server-side/Express_Nodejs")}}
{{LearnSidebar}}{{PreviousMenu("Learn_web_development/Extensions/Server-side/Express_Nodejs/forms", "Learn_web_development/Extensions/Server-side/Express_Nodejs")}}

現在你已經創建(並測試)了一個不錯的 本地圖書館 網站了,你打算把它發佈到一個公共網絡服務器,這樣圖書館管理員和網路上的其他成員就可以訪問它了。這篇文章總結了你可以怎樣找到一台主機部署你的網站,以及你需要為網站準備好佈署到生產環境該做什麼。

Expand Down Expand Up @@ -510,4 +510,4 @@ heroku ps #Display dyno status
- [Express](https://www.digitalocean.com/community/tutorials?q=express) tutorials
- [Node.js](https://www.digitalocean.com/community/tutorials?q=node.js) tutorials

{{PreviousMenu("Learn/Server-side/Express_Nodejs/forms", "Learn/Server-side/Express_Nodejs")}}
{{PreviousMenu("Learn_web_development/Extensions/Server-side/Express_Nodejs/forms", "Learn_web_development/Extensions/Server-side/Express_Nodejs")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ slug: Learn_web_development/Getting_started/Web_standards/How_the_web_works
original_slug: Learn/Getting_started_with_the_web/How_the_Web_works
---

{{LearnSidebar}}{{PreviousMenu("Learn/Getting_started_with_the_web/Publishing_your_website", "Learn/Getting_started_with_the_web")}}
{{LearnSidebar}}

{{NextMenu("Learn_web_development/Getting_started/Web_standards/The_Web_standards_model", "Learn_web_development/Getting_started/Web_standards")}}

_〈網路如何運作〉將簡單介紹_,當你透過電腦或手機瀏覽器瀏覽網頁時,究竟發生什麼事。

Expand Down Expand Up @@ -70,4 +72,4 @@ _〈網路如何運作〉將簡單介紹_,當你透過電腦或手機瀏覽器

街頭的照片:[Street composing](https://www.flickr.com/photos/kdigga/9110990882/in/photolist-cXrKFs-c1j6hQ-mKrPUT-oRTUK4-7jSQQq-eT7daG-cZEZrh-5xT9L6-bUnkip-9jAbvr-5hVkHn-pMfobT-dm8JuZ-gjwYYM-pREaSM-822JRW-5hhMf9-9RVQNn-bnDMSZ-pL2z3y-k7FRM4-pzd8Y7-822upY-8bFN4Y-kedD87-pzaATg-nrF8ft-5anP2x-mpVky9-ceKc9W-dG75mD-pY62sp-gZmXVZ-7vVJL9-h7r9AQ-gagPYh-jvo5aM-J32rC-ibP2zY-a4JBcH-ndxM5Y-iFHsde-dtJ15p-8nYRgp-93uCB1-o6N5Bh-nBPUny-dNJ66P-9XWmVP-efXhxJ)、作者是[Kevin D](https://www.flickr.com/photos/kdigga/)

{{PreviousMenu("Learn/Getting_started_with_the_web/Publishing_your_website", "Learn/Getting_started_with_the_web")}}
{{NextMenu("Learn_web_development/Getting_started/Web_standards/The_web_standards_model", "Learn_web_development/Getting_started/Web_standards")}}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ slug: Learn_web_development/Howto/Web_mechanics/What_is_a_web_server
original_slug: Learn/Common_questions/Web_mechanics/What_is_a_web_server
---

{{QuicklinksWithSubPages("Learn/Common_questions")}}
{{QuicklinksWithSubPages("Learn_web_development/Howto")}}

本文章將講解網路伺服器是什麼、如何運作、還有他們的重要性。

Expand Down

0 comments on commit 4251264

Please sign in to comment.