Skip to content

Commit

Permalink
Fix MDN not having a separate URL for includes
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Jan 4, 2025
1 parent 24f20ae commit f21a5dc
Show file tree
Hide file tree
Showing 43 changed files with 1,785 additions and 1,761 deletions.
70 changes: 35 additions & 35 deletions crates/web-sys/src/features/gen_AudioContext.rs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions crates/web-sys/src/features/gen_AudioScheduledSourceNode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,28 @@ extern "C" {
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start)]
#[doc = "The `start()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/start)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
pub fn start(this: &AudioScheduledSourceNode) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = start)]
#[doc = "The `start()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/start)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/start)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
pub fn start_with_when(this: &AudioScheduledSourceNode, when: f64) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop)]
#[doc = "The `stop()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/stop)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
pub fn stop(this: &AudioScheduledSourceNode) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "AudioScheduledSourceNode" , js_name = stop)]
#[doc = "The `stop()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AudioScheduledSourceNode/stop)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/stop)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `AudioScheduledSourceNode`*"]
pub fn stop_with_when(this: &AudioScheduledSourceNode, when: f64) -> Result<(), JsValue>;
Expand Down
70 changes: 35 additions & 35 deletions crates/web-sys/src/features/gen_BaseAudioContext.rs

Large diffs are not rendered by default.

192 changes: 96 additions & 96 deletions crates/web-sys/src/features/gen_CanvasRenderingContext2d.rs

Large diffs are not rendered by default.

110 changes: 55 additions & 55 deletions crates/web-sys/src/features/gen_CharacterData.rs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions crates/web-sys/src/features/gen_ConstantSourceNode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,28 @@ extern "C" {
# [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = start)]
#[doc = "The `start()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/start)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
pub fn start(this: &ConstantSourceNode) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = start)]
#[doc = "The `start()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/start)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/start)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
pub fn start_with_when(this: &ConstantSourceNode, when: f64) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = stop)]
#[doc = "The `stop()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/stop)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
pub fn stop(this: &ConstantSourceNode) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "ConstantSourceNode" , js_name = stop)]
#[doc = "The `stop()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ConstantSourceNode/stop)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/rustAudioScheduledSourceNode/stop)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `ConstantSourceNode`*"]
pub fn stop_with_when(this: &ConstantSourceNode, when: f64) -> Result<(), JsValue>;
Expand Down
10 changes: 5 additions & 5 deletions crates/web-sys/src/features/gen_CssPseudoElement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern "C" {
# [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = animate)]
#[doc = "The `animate()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/animate)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animatable/animate)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Animation`, `CssPseudoElement`*"]
#[doc = ""]
Expand All @@ -44,7 +44,7 @@ extern "C" {
# [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = animate)]
#[doc = "The `animate()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/animate)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animatable/animate)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Animation`, `CssPseudoElement`*"]
#[doc = ""]
Expand All @@ -60,7 +60,7 @@ extern "C" {
# [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = animate)]
#[doc = "The `animate()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/animate)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animatable/animate)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `Animation`, `CssPseudoElement`, `KeyframeAnimationOptions`*"]
#[doc = ""]
Expand All @@ -75,7 +75,7 @@ extern "C" {
# [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = getAnimations)]
#[doc = "The `getAnimations()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/getAnimations)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animatable/getAnimations)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`*"]
#[doc = ""]
Expand All @@ -87,7 +87,7 @@ extern "C" {
# [wasm_bindgen (method , structural , js_class = "CSSPseudoElement" , js_name = getAnimations)]
#[doc = "The `getAnimations()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/getAnimations)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Animatable/getAnimations)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `CssPseudoElement`, `GetAnimationsOptions`*"]
#[doc = ""]
Expand Down
4 changes: 2 additions & 2 deletions crates/web-sys/src/features/gen_DedicatedWorkerGlobalScope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ extern "C" {
# [wasm_bindgen (catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = cancelAnimationFrame)]
#[doc = "The `cancelAnimationFrame()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationFrameProvider/cancelAnimationFrame)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
pub fn cancel_animation_frame(
Expand All @@ -116,7 +116,7 @@ extern "C" {
# [wasm_bindgen (catch , method , structural , js_class = "DedicatedWorkerGlobalScope" , js_name = requestAnimationFrame)]
#[doc = "The `requestAnimationFrame()` method."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame)"]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/AnimationFrameProvider/requestAnimationFrame)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `DedicatedWorkerGlobalScope`*"]
pub fn request_animation_frame(
Expand Down
Loading

0 comments on commit f21a5dc

Please sign in to comment.