Skip to content

Commit

Permalink
fix remaining 404s
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah11918 committed Jun 12, 2024
1 parent d25a7d0 commit 73a32a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/deploy/render.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can deploy your Astro project to [Render](https://render.com/), a service to
4. Give your website a name, select the branch and specify the build command and publish directory
- **build command:** `npm run build`
- **publish directory:** `dist`
- **Environment variables (advanced)**: By default, Render uses Node.js 14.17.0, but Astro [requires a higher version](/install-and-setup/#prerequisites). Add an environment variable with a **Variable key** of `NODE_VERSION` and a **Value** of `v18.17.1` or `v20.3.0` or higher to tell Render to use a compatible Node.js version. Alternatively, add a [`.node-version`](https://render.com/docs/node-version) or [`.nvmrc`](https://render.com/docs/node-version) file to your project to specify a Node.js version.
- **Environment variables (advanced)**: By default, Render uses Node.js 14.17.0, but Astro [requires a higher version](/en/install-and-setup/#prerequisites). Add an environment variable with a **Variable key** of `NODE_VERSION` and a **Value** of `v18.17.1` or `v20.3.0` or higher to tell Render to use a compatible Node.js version. Alternatively, add a [`.node-version`](https://render.com/docs/node-version) or [`.nvmrc`](https://render.com/docs/node-version) file to your project to specify a Node.js version.

5. Click the **Create Static Site** button
</Steps>
7 changes: 7 additions & 0 deletions src/content/docs/en/recipes.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: old recipes page
description: old recipes page
i18nReady: false
---

this is a fake placeholder page.
2 changes: 1 addition & 1 deletion src/content/docs/zh-cn/reference/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Global Flags

你也可以在 `package.json` 中使用脚本来使用这些命令的简短版本。使用脚本允许你使用来自其他项目的相同命令,例如 `npm run build`

当你使用 [`create astro` 向导](/zh-cn/instal-and-setup/) 创建项目时,以下脚本是为你自动添加的,用于最常用的 `astro` 命令(`astro dev``astro build``astro preview`)。
当你使用 [`create astro` 向导](/zh-cn/install-and-setup/) 创建项目时,以下脚本是为你自动添加的,用于最常用的 `astro` 命令(`astro dev``astro build``astro preview`)。

当你按照[手动安装 Astro](/zh-cn/install-and-setup/#manual-setup) 的说明进行操作时,你会被告知自己添加这些脚本。你还可以手动为任何你经常使用的命令添加更多脚本到这个列表中。

Expand Down

0 comments on commit 73a32a0

Please sign in to comment.