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