Skip to content

Commit fbe4f0a

Browse files
committed
fix(docs): replace Docsy alert shortcode with Relearn notice
The docs site uses the hugo-theme-relearn theme, which provides `notice` instead of Docsy's `alert`. The face-recognition, voice-recognition, and stores feature pages used `{{% alert %}}`, breaking `hugo build` with "template for shortcode \"alert\" not found". Assisted-by: Claude:claude-opus-4-7 [Claude Code] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent d733c9c commit fbe4f0a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/content/features/face-recognition.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ stand up.
102102
# → 204 No Content
103103
```
104104

105-
{{% alert icon="⚠️" color="warning" %}}
105+
{{% notice warning %}}
106106
**Storage caveat.** The default vector store is in-memory. All
107107
registered faces are lost when LocalAI restarts. Persistent storage
108108
(pgvector) is a tracked future enhancement — the face-recognition HTTP
109109
API is designed to swap the backing store without changing the wire
110110
format.
111-
{{% /alert %}}
111+
{{% /notice %}}
112112

113113
## API reference
114114

@@ -256,13 +256,13 @@ only listed the face recognition weights), the request returns a gRPC
256256
`is_real=false`. Re-install the gallery entry or point the backend at a
257257
model that bundles the MiniFASNet ONNX files.
258258
259-
{{% alert icon="ℹ" color="info" %}}
259+
{{% notice info %}}
260260
The MiniFASNet score is best at catching **printed photos and screen
261261
replays**. Deepfake videos and high-quality prosthetics are out of
262262
scope — liveness here is a low-cost first line of defence, not a
263263
guarantee. For higher assurance, combine with challenge-response (e.g.
264264
ask the user to turn their head).
265-
{{% /alert %}}
265+
{{% /notice %}}
266266
267267
## Choosing an engine
268268

docs/content/features/stores.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ url = '/stores'
99
Stores are an experimental feature to help with querying data using similarity search. It is
1010
a low level API that consists of only `get`, `set`, `delete` and `find`.
1111

12-
{{% alert icon="💡" color="info" %}}
12+
{{% notice tip %}}
1313
**Face recognition uses this store.** The 1:N face identification flow
1414
(`/v1/face/register`, `/v1/face/identify`, `/v1/face/forget`) is built
1515
on top of the generic store — see
1616
[Face Recognition](/features/face-recognition/) for the face-oriented
1717
API.
18-
{{% /alert %}}
18+
{{% /notice %}}
1919

2020
For example if you have an embedding of some text and want to find text with similar embeddings.
2121
You can create embeddings for chunks of all your text then compare them against the embedding of the text you

docs/content/features/voice-recognition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ hood.
9999
# → 204 No Content
100100
```
101101

102-
{{% alert icon="⚠️" color="warning" %}}
102+
{{% notice warning %}}
103103
**Storage caveat.** The default vector store is in-memory. All
104104
registered speakers are lost when LocalAI restarts. Persistent storage
105105
(pgvector) is a tracked future enhancement shared with face
106106
recognition — the voice-recognition HTTP API is designed to swap the
107107
backing store without changing the wire format.
108-
{{% /alert %}}
108+
{{% /notice %}}
109109

110110
## API reference
111111

0 commit comments

Comments
 (0)