From 90503f91bfc5bd0c851a3747036439ecd35ea036 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 05:38:27 +0530 Subject: [PATCH] [docs] Fix dead detector documentation links on the website The CLI docs no longer have a cli/detectors.html page; the detector commands are documented on cli.html, so the links in the website CLI and API pages return 404. Point them at cli.html#detectors and cli.html#detect-content. --- website/pages/api.md | 2 +- website/pages/cli.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/api.md b/website/pages/api.md index 009a6aac..90013ec7 100644 --- a/website/pages/api.md +++ b/website/pages/api.md @@ -15,7 +15,7 @@ Internally, this detector functions by converting the colorspace of each decoded `detect-content` also has edge detection, which can be enabled by providing a set of 4 numbers in the form (*delta_hue*, *delta_sat*, *delta_lum*, *delta_edges*). Changes in edges are typically larger than the other components, so threshold may need to be increased accordingly. For example, `-w 1.0 0.5 1.0 0.2 -t 32` is a good starting point to use with edge detection. The default weights are `--weights 1.0 1.0 1.0 0.0` which does not include edges, but this may change in the future. -See [the documentation for detect-content](https://www.scenedetect.com/docs/latest/cli/detectors.html#detect-content) for details. +See [the documentation for detect-content](https://www.scenedetect.com/docs/latest/cli.html#detect-content) for details. ## Adaptive Content Detector diff --git a/website/pages/cli.md b/website/pages/cli.md index 78e583fc..40092343 100644 --- a/website/pages/cli.md +++ b/website/pages/cli.md @@ -113,7 +113,7 @@ The `detect-adaptive` mode compares each frame's score as calculated by `detect- ## Detection Parameters -Detectors take a variety of parameters, which can be [configured via command-line](https://www.scenedetect.com/docs/latest/cli/detectors.html) or by [using a config file](https://www.scenedetect.com/docs/latest/cli/config_file.html). If the default parameters do not produce correct results, you can generate a stats file using the `-s` / `--stats` option. +Detectors take a variety of parameters, which can be [configured via command-line](https://www.scenedetect.com/docs/latest/cli.html#detectors) or by [using a config file](https://www.scenedetect.com/docs/latest/cli/config_file.html). If the default parameters do not produce correct results, you can generate a stats file using the `-s` / `--stats` option. For example, with `detect-content`, if the default threshold of `27` does not produce correct results, we can determine the proper threshold by first generating a stats file: