Skip to content

Commit 22e401b

Browse files
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>
1 parent 11403f4 commit 22e401b

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docs/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,17 @@ Building and running the site locally requires a recent `extended` version of [H
2727
You can find out more about how to install Hugo for your environment in our
2828
[Getting started](https://www.docsy.dev/docs/getting-started/#prerequisites-and-installation) guide.
2929

30-
Once you've made your working copy of the site repo, from the repo root folder, run:
30+
From the LocalAI repository root, run:
3131

32+
```bash
33+
make docs
3234
```
35+
36+
The Hugo configuration lives in the `docs` directory. To invoke Hugo
37+
directly instead, run:
38+
39+
```bash
40+
cd docs
3341
hugo server
3442
```
3543

0 commit comments

Comments
 (0)