From f447489ebf4df301e99e13f779dedaa5c515c360 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sat, 19 Oct 2024 13:08:06 +0900 Subject: [PATCH] docs: add node.js as prerequisite --- docs/index.md | 1 + docs/reference/docfx-environment-variables-reference.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 93be1aab117..bf0f6bc0c3b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,6 +9,7 @@ In this section we will build a simple documentation site on your local machine. > Prerequisites > - Familiarity with the command line > - Install [.NET SDK](https://dotnet.microsoft.com/en-us/download) 6.0 or higher +> - Install [Node.js](https://nodejs.org/) v20 or higher Make sure you have [.NET SDK](https://dotnet.microsoft.com/en-us/download) installed, then open a terminal and enter the following command to install the latest docfx: diff --git a/docs/reference/docfx-environment-variables-reference.md b/docs/reference/docfx-environment-variables-reference.md index ad8ed1945bc..2332cabfe31 100644 --- a/docs/reference/docfx-environment-variables-reference.md +++ b/docs/reference/docfx-environment-variables-reference.md @@ -30,5 +30,5 @@ Maximum time in milliseconds to override the default [Playwright timeout](https: ## `PLAYWRIGHT_NODEJS_PATH` -Custom Node.js executable path that will be used by the `docfx pdf' command. +Custom Node.js executable path that will be used by the `docfx pdf` command. By default, docfx automatically detect installed Node.js from `PATH`.