Skip to content

Commit 6b2a2ec

Browse files
Migrate docusaurus admonitions (#3615)
1 parent f2bfd7c commit 6b2a2ec

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/content/docs/distribute/windows-installer.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ we will also need the `llvm-rc` binary which is part of the LLVM project.
9191

9292
<Tabs syncKey="OS">
9393
<TabItem label="Linux">
94-
94+
9595
```sh title="Ubuntu"
9696
sudo apt install lld llvm
9797
```
@@ -166,7 +166,7 @@ so you need to install the 32-bit Windows toolchain first: `rustup target add i6
166166

167167
If you need to build for **ARM64** you first need to install additional build tools.
168168
To do this, open `Visual Studio Installer`, click on "Modify", and in the "Individual Components" tab install the "C++ ARM64 build tools".
169-
At the time of writing, the exact name in VS2022 is `MSVC v143 - VS 2022 C++ ARM64 build tools (Latest)`.
169+
At the time of writing, the exact name in VS2022 is `MSVC v143 - VS 2022 C++ ARM64 build tools (Latest)`.
170170
Now you can add the rust target with `rustup target add aarch64-pc-windows-msvc` and then use the above-mentioned method to compile your app:
171171

172172
<CommandTabs
@@ -178,7 +178,7 @@ Now you can add the rust target with `rustup target add aarch64-pc-windows-msvc`
178178
cargo="cargo tauri build --target aarch64-pc-windows-msvc"
179179
/>
180180

181-
:::info
181+
:::note
182182

183183
Note that the NSIS installer itself will still be x86 running on the ARM machine via emulation. The app itself will be a native ARM64 binary.
184184

@@ -221,7 +221,7 @@ See the following table for a comparison between these methods:
221221
| [`fixedVersion`](#fixed-version) | No | ~180MB | Embeds a fixed WebView2 version. |
222222
| [`skip`](#skipping-installation) | No | 0MB | ⚠️ Not recommended <br /> Does not install the WebView2 as part of the Windows Installer. |
223223

224-
:::info
224+
:::note
225225

226226
On Windows 10 (April 2018 release or later) and Windows 11, the WebView2 runtime is distributed as part of the operating system.
227227

src/content/docs/ja/distribute/windows-installer.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ brew install nsis
106106

107107
<Tabs syncKey="OS">
108108
<TabItem label="Linux">
109-
109+
110110
```sh title="Ubuntu"
111111
sudo apt install lld llvm
112112
```
@@ -197,7 +197,7 @@ Tauri CLI は、デフォルトでは、使用している PC のアーキテク
197197
cargo="cargo tauri build --target aarch64-pc-windows-msvc"
198198
/>
199199

200-
:::info
200+
:::note
201201

202202
なお、NSIS インストーラ自体は、ARM マシン上でもエミュレーションを介した x86 で実行されます。アプリ自体は「ネイティブ ARM64 バイナリ」になります。
203203

@@ -251,7 +251,7 @@ $env:TAURI_FIPS_COMPLIANT="true"
251251
| [`fixedVersion`](#バージョンの修正) | No | ~180MB | WebView2 の修正バージョンを埋め込みます。 |
252252
| [`skip`](#インストールの省略) | No | 0MB | ⚠️ 非推奨 <br /> Windows インストラーでは WebView2 をインストールしません。 |
253253

254-
:::info
254+
:::note
255255

256256
Windows 10(2018 年 4 月リリース以降)および Windows 11 では、WebView2 ランタイムはオペレーティング・システムの一部として配布されています。
257257

src/content/docs/plugin/updater.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ When using static, you just need to return a JSON containing the required inform
269269
| `platforms` | Each platform key is in the `OS-ARCH` format, where `OS` is one of `linux`, `darwin` or `windows`, and `ARCH` is one of `x86_64`, `aarch64`, `i686` or `armv7`. |
270270
| `signature` | The content of the generated `.sig` file, which may change with each build. A path or URL does not work! |
271271

272-
:::info
272+
:::note
273273
When using [custom targets](#custom-target) the provided target string is matched against the `platforms` key
274274
instead of the default `OS-ARCH` value.
275275
:::

src/content/docs/zh-cn/plugin/updater.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Tauri 的更新程序需要签名来验证更新来自可信来源。这不能
269269
| `platforms` | 每个平台的字段名都是 `OS-ARCH` 格式,其中 `OS``linux``darwin``windows` 中的一个,而 `ARCH``x86_64``aarch64``i686``armv7` 中的一个。 |
270270
| `signature` | 生成的 `.sig` 文件的内容,可能会随着每次构建而改变。路径或 URL 将不起作用! |
271271

272-
:::info
272+
:::note
273273
当使用[自定义目标](#自定义目标)时,所提供的目标字符串会与 `platforms` 键进行匹配,而非默认的 `OS-ARCH` 值。
274274
:::
275275

0 commit comments

Comments
 (0)