From 22e401b43d23bd41c7e0b959b2d37f0a7640d8c8 Mon Sep 17 00:00:00 2001 From: localai-org-maint-bot Date: Fri, 31 Jul 2026 23:37:27 +0200 Subject: [PATCH] docs: fix local Hugo working directory (#11183) Direct repository-root users to the supported make docs target and document the equivalent direct Hugo invocation from docs/. Fixes #10062 Assisted-by: Codex:gpt-5 Co-authored-by: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com> --- docs/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index b0934f2d4..431967566 100644 --- a/docs/README.md +++ b/docs/README.md @@ -27,9 +27,17 @@ Building and running the site locally requires a recent `extended` version of [H You can find out more about how to install Hugo for your environment in our [Getting started](https://www.docsy.dev/docs/getting-started/#prerequisites-and-installation) guide. -Once you've made your working copy of the site repo, from the repo root folder, run: +From the LocalAI repository root, run: +```bash +make docs ``` + +The Hugo configuration lives in the `docs` directory. To invoke Hugo +directly instead, run: + +```bash +cd docs hugo server ```