Compare commits

...

5 Commits

Author SHA1 Message Date
Kai Curry
6ca58d283e
Merge 8c69927438 into 4d51f7a1bb 2026-02-22 12:19:54 -08:00
Matt Rusiniak
4d51f7a1bb
Fix script for downloading RF-DETR (#22083) 2026-02-22 07:57:27 -07:00
GuoQing Liu
c9be98f935
docs: fix hailo setup numbering error (#22066)
Some checks failed
CI / AMD64 Build (push) Has been cancelled
CI / ARM Build (push) Has been cancelled
CI / Jetson Jetpack 6 (push) Has been cancelled
CI / AMD64 Extra Build (push) Has been cancelled
CI / ARM Extra Build (push) Has been cancelled
CI / Synaptics Build (push) Has been cancelled
CI / Assemble and push default build (push) Has been cancelled
2026-02-21 12:19:46 -06:00
GuoQing Liu
85ed8c6432
docs: fix image address (#22067) 2026-02-21 12:19:21 -06:00
Kai Curry
8c69927438 docs: Add documentation style guide for internal links 2026-02-09 18:27:44 -01:00
3 changed files with 61 additions and 8 deletions

View File

@ -8,3 +8,56 @@ For installation and contributing instructions, please follow the [Contributing
1. Run `npm i` to install dependencies
2. Run `npm run start` to start the website
# Documentation Style Guide
## Internal Links
When adding or editing internal links, follow these conventions:
### Do not include the `.md` extension
Use paths without extensions. This avoids needing `index.md` for directory index pages and matches the web URL.
```markdown
<!-- Good -->
[zones](/configuration/zones)
[getting started](../guides/getting_started)
<!-- Bad -->
[zones](/configuration/zones.md)
```
### Use relative paths for same-directory links
Use relative `./` paths for links to pages in the same directory.
```markdown
[zones](./zones)
[masks](./masks)
```
### Use absolute paths for everything else
For links outside the current directory, use absolute paths from the docs root. The exception is deeply nested subdirectories (e.g., `configuration/custom_classification/`) where `../` to the parent directory is acceptable.
```markdown
[object detectors](/configuration/object_detectors)
[hardware](/frigate/hardware)
[getting started](/guides/getting_started)
<!-- Also OK from a nested subdirectory -->
[zones](../zones)
```
### Never use full URLs for internal links
```markdown
<!-- Good -->
[zones](/configuration/zones)
<!-- Bad -->
[zones](https://docs.frigate.video/configuration/zones)
```
> **Note:** Some existing links still use `.md` extensions. These should be updated when the file is being edited for other reasons.

View File

@ -1514,11 +1514,11 @@ RF-DETR can be exported as ONNX by running the command below. You can copy and p
```sh
docker build . --build-arg MODEL_SIZE=Nano --rm --output . -f- <<'EOF'
FROM python:3.11 AS build
FROM python:3.12 AS build
RUN apt-get update && apt-get install --no-install-recommends -y libgl1 && rm -rf /var/lib/apt/lists/*
COPY --from=ghcr.io/astral-sh/uv:0.8.0 /uv /bin/
COPY --from=ghcr.io/astral-sh/uv:0.10.4 /uv /bin/
WORKDIR /rfdetr
RUN uv pip install --system rfdetr[onnxexport] torch==2.8.0 onnx==1.19.1 onnxscript
RUN uv pip install --system rfdetr[onnxexport] torch==2.8.0 onnx==1.19.1 transformers==4.57.6 onnxscript
ARG MODEL_SIZE
RUN python3 -c "from rfdetr import RFDETR${MODEL_SIZE}; x = RFDETR${MODEL_SIZE}(resolution=320); x.export(simplify=True)"
FROM scratch

View File

@ -185,7 +185,7 @@ On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the ke
This command should return no results.
3. **Run the installation script**:
2. **Run the installation script**:
Download the installation script:
@ -213,7 +213,7 @@ On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the ke
- Download and install the required firmware
- Set up udev rules
4. **Reboot your system**:
3. **Reboot your system**:
After the script completes successfully, reboot to load the firmware:
@ -221,7 +221,7 @@ On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the ke
sudo reboot
```
5. **Verify the installation**:
4. **Verify the installation**:
After rebooting, verify that the Hailo device is available:
@ -709,7 +709,7 @@ To allow Frigate to use the Apple Silicon Neural Engine / Processing Unit (NPU)
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable-arm64
image: ghcr.io/blakeblackshear/frigate:stable-standard-arm64
restart: unless-stopped
shm_size: "512mb" # update for your cameras based on calculation above
volumes:
@ -727,4 +727,4 @@ services:
- "host.docker.internal:host-gateway" # Required to talk to the NPU detector
environment:
- FRIGATE_RTSP_PASSWORD: "password"
```
```