From a93cc8c5d76b9472af941ab40cf082c8793ed723 Mon Sep 17 00:00:00 2001 From: Amos Date: Sat, 13 Jul 2024 11:51:37 +0800 Subject: [PATCH] Fix: Links --- .../docs/add-to-app/ios-project/embed-cocoapods.md | 4 ++-- .../docs/add-to-app/ios-project/embed-frameworks.md | 6 +++--- src/_includes/docs/add-to-app/ios-project/embed-split.md | 6 +++--- src/content/add-to-app/ios/project-setup.md | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/_includes/docs/add-to-app/ios-project/embed-cocoapods.md b/src/_includes/docs/add-to-app/ios-project/embed-cocoapods.md index ee5af17f34..b1fd6ca445 100644 --- a/src/_includes/docs/add-to-app/ios-project/embed-cocoapods.md +++ b/src/_includes/docs/add-to-app/ios-project/embed-cocoapods.md @@ -20,9 +20,9 @@ consult the [CocoaPods getting started guide][]. If watching a video helps you learn, this video covers adding Flutter to an iOS app: - + -[Watch this video on YouTube]({{yt-watch}}/IIcrfrTshTs). +[Watch this video on YouTube]({{site.yt.watch}}/IIcrfrTshTs). #### Requirements {:#method-a-reqs} diff --git a/src/_includes/docs/add-to-app/ios-project/embed-frameworks.md b/src/_includes/docs/add-to-app/ios-project/embed-frameworks.md index c069cdb08f..076c4d1c1e 100644 --- a/src/_includes/docs/add-to-app/ios-project/embed-frameworks.md +++ b/src/_includes/docs/add-to-app/ios-project/embed-frameworks.md @@ -18,11 +18,11 @@ Use this method in the following use cases: #### Limitations {:#method-b-limits} -{% render docs/add-to-app/ios-project/limits-common-deps.md %} +{% include docs/add-to-app/ios-project/limits-common-deps.md %} #### Example project structure {:#method-b-structure} -{% render docs/add-to-app/ios-project/embed-framework-directory-tree.md %} +{% include docs/add-to-app/ios-project/embed-framework-directory-tree.md %} #### Procedures @@ -32,6 +32,6 @@ into your existing app in Xcode depends on the type of framework. * Link and embed dynamic frameworks. * Link static frameworks. [Never embed them][static-framework]. -{% render docs/add-to-app/ios-project/link-and-embed.md %} +{% include docs/add-to-app/ios-project/link-and-embed.md %} [static-framework]: {{site.apple-dev}}library/archive/technotes/tn2435/_index.html diff --git a/src/_includes/docs/add-to-app/ios-project/embed-split.md b/src/_includes/docs/add-to-app/ios-project/embed-split.md index ee50c31279..facef7328f 100644 --- a/src/_includes/docs/add-to-app/ios-project/embed-split.md +++ b/src/_includes/docs/add-to-app/ios-project/embed-split.md @@ -19,7 +19,7 @@ Use this method in the following use cases: #### Limitations {:#method-c-limits} -{% render docs/add-to-app/ios-project/limits-common-deps.md %} +{% include docs/add-to-app/ios-project/limits-common-deps.md %} This method only works with the `beta` or `stable` [release channels][]. @@ -27,7 +27,7 @@ This method only works with the `beta` or `stable` [release channels][]. #### Example project structure {:#method-c-structure} -{% render docs/add-to-app/ios-project/embed-framework-directory-tree.md %} +{% include docs/add-to-app/ios-project/embed-framework-directory-tree.md %} #### Add Flutter engine to your Podfile @@ -45,4 +45,4 @@ and `Release` when you're ready to ship. #### Link and embed app and plugin frameworks -{% render docs/add-to-app/ios-project/link-and-embed.md %} +{% include docs/add-to-app/ios-project/link-and-embed.md %} diff --git a/src/content/add-to-app/ios/project-setup.md b/src/content/add-to-app/ios/project-setup.md index 3f1506361f..1732bc6d46 100644 --- a/src/content/add-to-app/ios/project-setup.md +++ b/src/content/add-to-app/ios/project-setup.md @@ -125,17 +125,17 @@ consult [Debugging your add-to-app module][]. {% tabs %} {% tab "Use CocoaPods" %} -{% render docs/add-to-app/ios-project/embed-cocoapods.md, yt-embed: site.yt.embed, yt-set: site.yt.set, yt-watch: site.yt.watch %} +{% include docs/add-to-app/ios-project/embed-cocoapods.md %} {% endtab %} {% tab "Use frameworks" %} -{% render docs/add-to-app/ios-project/embed-frameworks.md %} +{% include docs/add-to-app/ios-project/embed-frameworks.md %} {% endtab %} {% tab "Use frameworks and CocoaPods" %} -{% render docs/add-to-app/ios-project/embed-split.md %} +{% include docs/add-to-app/ios-project/embed-split.md %} {% endtab %} {% endtabs %}