Skip to content

Commit d2ee0c0

Browse files
committed
fix: remove .mdx extensions from internal doc links
1 parent c16fea3 commit d2ee0c0

File tree

23 files changed

+23
-23
lines changed

23 files changed

+23
-23
lines changed

website/docs/concepts/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ See [docs for use_context](https://yew-rs-api.web.app/next/yew/functional/fn.use
162162

163163
We have 2 options to consume contexts in struct components:
164164

165-
- [Higher Order Components](../advanced-topics/struct-components/hoc.mdx): A higher-order function component will consume the context and pass the data to the struct component which requires it.
165+
- [Higher Order Components](../advanced-topics/struct-components/hoc): A higher-order function component will consume the context and pass the data to the struct component which requires it.
166166
- Consume context directly in the struct component. See [example of struct component as a consumer](https://github.com/yewstack/yew/tree/master/examples/contexts/src/struct_component_subscriber.rs)
167167

168168
## Use cases

website/docs/concepts/html/events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ listens for `click` events. See the end of this page for a [full list of availab
4040

4141
Events dispatched by Yew follow the virtual DOM hierarchy when bubbling up to listeners. Currently, only the bubbling phase
4242
is supported for listeners. Note that the virtual DOM hierarchy is most often, but not always, identical to the actual
43-
DOM hierarchy. The distinction is important when working with [portals](../../advanced-topics/portals.mdx) and other
43+
DOM hierarchy. The distinction is important when working with [portals](../../advanced-topics/portals) and other
4444
more advanced techniques. The intuition for well-implemented components should be that events bubble from children
4545
to parents. In this way the hierarchy in your coded `html!` is the one observed by event handlers.
4646

website/i18n/ja/docusaurus-plugin-content-docs/current/concepts/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn ThemedButton() -> Html {
156156

157157
構造体コンポーネント内でコンテキストを使用するには、2つの方法があります:
158158

159-
- [高階コンポーネント](../advanced-topics/struct-components/hoc.mdx):高階関数コンポーネントがコンテキストを使用し、必要なデータを構造体コンポーネントに渡します。
159+
- [高階コンポーネント](../advanced-topics/struct-components/hoc):高階関数コンポーネントがコンテキストを使用し、必要なデータを構造体コンポーネントに渡します。
160160
- 構造体コンポーネント内で直接コンテキストを使用します。詳細については、[構造体コンポーネントのコンシューマーとしての例](https://github.com/yewstack/yew/tree/master/examples/contexts/src/struct_component_subscriber.rs) を参照してください。
161161

162162
## 使用シナリオ

website/i18n/ja/docusaurus-plugin-content-docs/current/concepts/html/events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ html! {
3333

3434
## イベントキャプチャ {#event-bubbling}
3535

36-
Yew がディスパッチするイベントは仮想 DOM 階層に従い、リスナーに向かってバブルアップします。現在、リスナーのバブルフェーズのみがサポートされています。仮想 DOM 階層は通常(ただし常にではありません)実際の DOM 階層と同じです。[ポータル](../../advanced-topics/portals.mdx)やその他の高度な技術を扱う際には、この違いが重要です。よく設計されたコンポーネントでは、直感的にイベントは子コンポーネントから親コンポーネントにバブルアップするはずです。これにより、`html!` で記述した階層がイベントハンドラによって観察される階層となります。
36+
Yew がディスパッチするイベントは仮想 DOM 階層に従い、リスナーに向かってバブルアップします。現在、リスナーのバブルフェーズのみがサポートされています。仮想 DOM 階層は通常(ただし常にではありません)実際の DOM 階層と同じです。[ポータル](../../advanced-topics/portals)やその他の高度な技術を扱う際には、この違いが重要です。よく設計されたコンポーネントでは、直感的にイベントは子コンポーネントから親コンポーネントにバブルアップするはずです。これにより、`html!` で記述した階層がイベントハンドラによって観察される階層となります。
3737

3838
イベントのバブルアップを避けたい場合は、アプリケーションを起動する前に以下のコードを呼び出すことができます
3939

website/i18n/ja/docusaurus-plugin-content-docs/version-0.21/concepts/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ See [docs for use_context](https://yew-rs-api.web.app/next/yew/functional/fn.use
162162

163163
We have 2 options to consume contexts in struct components:
164164

165-
- [Higher Order Components](../advanced-topics/struct-components/hoc.mdx): A higher-order function component will consume the context and pass the data to the struct component which requires it.
165+
- [Higher Order Components](../advanced-topics/struct-components/hoc): A higher-order function component will consume the context and pass the data to the struct component which requires it.
166166
- Consume context directly in the struct component. See [example of struct component as a consumer](https://github.com/yewstack/yew/tree/master/examples/contexts/src/struct_component_subscriber.rs)
167167

168168
## Use cases

website/i18n/ja/docusaurus-plugin-content-docs/version-0.22/concepts/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn ThemedButton() -> Html {
156156

157157
構造体コンポーネント内でコンテキストを使用するには、2つの方法があります:
158158

159-
- [高階コンポーネント](../advanced-topics/struct-components/hoc.mdx):高階関数コンポーネントがコンテキストを使用し、必要なデータを構造体コンポーネントに渡します。
159+
- [高階コンポーネント](../advanced-topics/struct-components/hoc):高階関数コンポーネントがコンテキストを使用し、必要なデータを構造体コンポーネントに渡します。
160160
- 構造体コンポーネント内で直接コンテキストを使用します。詳細については、[構造体コンポーネントのコンシューマーとしての例](https://github.com/yewstack/yew/tree/master/examples/contexts/src/struct_component_subscriber.rs) を参照してください。
161161

162162
## 使用シナリオ

website/i18n/ja/docusaurus-plugin-content-docs/version-0.22/concepts/html/events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ html! {
3333

3434
## イベントキャプチャ {#event-bubbling}
3535

36-
Yew がディスパッチするイベントは仮想 DOM 階層に従い、リスナーに向かってバブルアップします。現在、リスナーのバブルフェーズのみがサポートされています。仮想 DOM 階層は通常(ただし常にではありません)実際の DOM 階層と同じです。[ポータル](../../advanced-topics/portals.mdx)やその他の高度な技術を扱う際には、この違いが重要です。よく設計されたコンポーネントでは、直感的にイベントは子コンポーネントから親コンポーネントにバブルアップするはずです。これにより、`html!` で記述した階層がイベントハンドラによって観察される階層となります。
36+
Yew がディスパッチするイベントは仮想 DOM 階層に従い、リスナーに向かってバブルアップします。現在、リスナーのバブルフェーズのみがサポートされています。仮想 DOM 階層は通常(ただし常にではありません)実際の DOM 階層と同じです。[ポータル](../../advanced-topics/portals)やその他の高度な技術を扱う際には、この違いが重要です。よく設計されたコンポーネントでは、直感的にイベントは子コンポーネントから親コンポーネントにバブルアップするはずです。これにより、`html!` で記述した階層がイベントハンドラによって観察される階層となります。
3737

3838
イベントのバブルアップを避けたい場合は、アプリケーションを起動する前に以下のコードを呼び出すことができます
3939

website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/concepts/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn ThemedButton() -> Html {
156156

157157
我们有两种选择在结构体组件中使用上下文:
158158

159-
- [高阶组件](../advanced-topics/struct-components/hoc.mdx):一个高阶函数组件将使用上下文并将数据传递给需要它的结构体组件。
159+
- [高阶组件](../advanced-topics/struct-components/hoc):一个高阶函数组件将使用上下文并将数据传递给需要它的结构体组件。
160160
- 直接在结构体组件中使用上下文。请参阅 [结构体组件作为消费者的示例](https://github.com/yewstack/yew/tree/master/examples/contexts/src/struct_component_subscriber.rs)
161161

162162
## 使用场景

website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/concepts/html/events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ html! {
3333

3434
## 事件捕获 {#event-bubbling}
3535

36-
Yew 调度的事件遵循虚拟 DOM 层次结构,向上冒泡到监听器。目前,仅支持监听器的冒泡阶段。请注意,虚拟 DOM 层次结构通常(但并非总是)与实际 DOM 层次结构相同。在处理[传送门](../../advanced-topics/portals.mdx)和其他更高级技术时,这一区别很重要。对于良好实现的组件,直觉应该是事件从子组件冒泡到父组件。这样,您在 `html!` 中编写的层次结构就是事件处理程序观察到的层次结构。
36+
Yew 调度的事件遵循虚拟 DOM 层次结构,向上冒泡到监听器。目前,仅支持监听器的冒泡阶段。请注意,虚拟 DOM 层次结构通常(但并非总是)与实际 DOM 层次结构相同。在处理[传送门](../../advanced-topics/portals)和其他更高级技术时,这一区别很重要。对于良好实现的组件,直觉应该是事件从子组件冒泡到父组件。这样,您在 `html!` 中编写的层次结构就是事件处理程序观察到的层次结构。
3737

3838
如果您不想要事件冒泡,可以通过调用
3939

website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-0.21/concepts/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ See [docs for use_context](https://yew-rs-api.web.app/next/yew/functional/fn.use
162162

163163
We have 2 options to consume contexts in struct components:
164164

165-
- [Higher Order Components](../advanced-topics/struct-components/hoc.mdx): A higher-order function component will consume the context and pass the data to the struct component which requires it.
165+
- [Higher Order Components](../advanced-topics/struct-components/hoc): A higher-order function component will consume the context and pass the data to the struct component which requires it.
166166
- Consume context directly in the struct component. See [example of struct component as a consumer](https://github.com/yewstack/yew/tree/master/examples/contexts/src/struct_component_subscriber.rs)
167167

168168
## Use cases

0 commit comments

Comments
 (0)