From abbcfd0dfadb6f51224492d8007ba46e82ccb4ee Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 17 Nov 2024 13:23:07 +0900 Subject: [PATCH] Fix broken link to the `rootDir` doc Currently, the link to `rootDir` doc is broken. https://nextjs.org/docs/messages/no-html-link-for-pages#options This is because there is an extra space between a path and an anchor. This PR removes it to fix the format. --- errors/no-html-link-for-pages.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/no-html-link-for-pages.mdx b/errors/no-html-link-for-pages.mdx index 28460df025b13..c14527a736801 100644 --- a/errors/no-html-link-for-pages.mdx +++ b/errors/no-html-link-for-pages.mdx @@ -48,7 +48,7 @@ export default Home This rule can normally locate your `pages` directory automatically. -If you're working in a monorepo, we recommend configuring the [`rootDir`](/docs/pages/api-reference/config/eslint #specifying-a-root-directory-within-a-monorepo) setting in `eslint-plugin-next`, which `pagesDir` will use to locate your `pages` directory. +If you're working in a monorepo, we recommend configuring the [`rootDir`](/docs/pages/api-reference/config/eslint#specifying-a-root-directory-within-a-monorepo) setting in `eslint-plugin-next`, which `pagesDir` will use to locate your `pages` directory. In some cases, you may also need to configure this rule directly by providing a `pages` directory. This can be a path or an array of paths.