From 19dee28d1e082a3adc6505df809ab032afe912f3 Mon Sep 17 00:00:00 2001 From: Pavel Voronin Date: Fri, 29 Mar 2024 16:11:44 +0100 Subject: [PATCH] Add a warning about relative path resolution. It's not obvious whether paths are resolved based on current working directory where docfx is called or based on location of `docfx.json` file. It's worth to be explicit about it in the documentation. --- docs/reference/docfx-json-reference.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/reference/docfx-json-reference.md b/docs/reference/docfx-json-reference.md index 35dd78001dc..2c02d6366d0 100644 --- a/docs/reference/docfx-json-reference.md +++ b/docs/reference/docfx-json-reference.md @@ -2,6 +2,9 @@ The `docfx.json` file indicates that the directory is the root of a docfx project. +> [!IMPORTANT] +> All relative paths specified in config file are relative to the location of `docfx.json` + ```json { "build": { },