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>
This commit is contained in:
localai-org-maint-bot
2026-07-31 23:37:27 +02:00
committed by GitHub
parent 11403f4797
commit 22e401b43d

View File

@@ -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
```