mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-21 03:41:55 +03:00
update links
This commit is contained in:
parent
039d36aa60
commit
3be9cd6b48
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const database: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/advanced#database",
|
||||
sectionDocs: "/configuration/advanced/system#database",
|
||||
restartRequired: ["path"],
|
||||
fieldOrder: ["path"],
|
||||
advancedFields: [],
|
||||
|
||||
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const environmentVars: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/advanced#environment_vars",
|
||||
sectionDocs: "/configuration/advanced/system#environment_vars",
|
||||
fieldOrder: [],
|
||||
advancedFields: [],
|
||||
uiSchema: {
|
||||
|
||||
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const genai: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/genai/config",
|
||||
sectionDocs: "/configuration/genai/genai_config",
|
||||
advancedFields: ["*.base_url", "*.provider_options", "*.runtime_options"],
|
||||
hiddenFields: ["genai.enabled_in_config"],
|
||||
restartRequired: [],
|
||||
|
||||
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const logger: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/advanced#logger",
|
||||
sectionDocs: "/configuration/advanced/system#frigate-logger",
|
||||
restartRequired: ["default", "logs"],
|
||||
fieldOrder: ["default", "logs"],
|
||||
advancedFields: ["logs"],
|
||||
|
||||
@ -2,10 +2,12 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const networking: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/advanced",
|
||||
sectionDocs: "/configuration/advanced/system#network-configuration",
|
||||
fieldDocs: {
|
||||
"listen.internal": "/configuration/advanced#listen-on-different-ports",
|
||||
"listen.external": "/configuration/advanced#listen-on-different-ports",
|
||||
"listen.internal":
|
||||
"/configuration/advanced/system#listen-on-different-ports",
|
||||
"listen.external":
|
||||
"/configuration/advanced/system#listen-on-different-ports",
|
||||
},
|
||||
restartRequired: ["ipv6.enabled", "listen.internal", "listen.external"],
|
||||
fieldOrder: [],
|
||||
|
||||
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const telemetry: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/reference",
|
||||
sectionDocs: "/configuration/advanced/reference",
|
||||
restartRequired: ["version_check"],
|
||||
fieldOrder: ["network_interfaces", "stats", "version_check"],
|
||||
advancedFields: [],
|
||||
|
||||
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const timestampStyle: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/reference",
|
||||
sectionDocs: "/configuration/advanced/reference",
|
||||
restartRequired: [],
|
||||
fieldOrder: ["position", "format", "thickness", "color"],
|
||||
hiddenFields: ["effect", "enabled_in_config"],
|
||||
|
||||
@ -2,7 +2,7 @@ import type { SectionConfigOverrides } from "./types";
|
||||
|
||||
const ui: SectionConfigOverrides = {
|
||||
base: {
|
||||
sectionDocs: "/configuration/reference",
|
||||
sectionDocs: "/configuration/advanced/reference",
|
||||
restartRequired: [],
|
||||
fieldOrder: ["dashboard", "order"],
|
||||
hiddenFields: ["order"],
|
||||
|
||||
@ -124,7 +124,7 @@ function useHelpfulLinks(content: string | undefined) {
|
||||
|
||||
if (/Did not detect hwaccel/.exec(content)) {
|
||||
links.push({
|
||||
link: getLocaleDocUrl("configuration/hardware_acceleration"),
|
||||
link: getLocaleDocUrl("configuration/hardware_acceleration_video"),
|
||||
text: "Setup Hardware Acceleration",
|
||||
});
|
||||
}
|
||||
@ -142,7 +142,7 @@ function useHelpfulLinks(content: string | undefined) {
|
||||
content.includes("No VA display found for device /dev/dri/renderD128")
|
||||
) {
|
||||
links.push({
|
||||
link: getLocaleDocUrl("configuration/hardware_acceleration"),
|
||||
link: getLocaleDocUrl("configuration/hardware_acceleration_video"),
|
||||
text: "Verify Hardware Acceleration Setup",
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user