feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera engines, the name incorrectly suggests that Frigate is a requirement. Instead, to broaden the appeal, change to more camera agnostic name. This does not suggest any change in priority, role or support for Frigate. This change is likely to be bug prone, due to the size of the rename -- the code contains 1500+ references to "Frigate" most of which make sense to rename, some which do not, all of which needed human assessment. - Closes #1298 BREAKING CHANGE: References to `frigate-card` in all kinds of configuration need to be updated to `advanced-camera-card`. An automated config upgrade should take care of the majority of usecases (click `Edit -> Upgrade -> Save`), though may not be perfect.
This commit is contained in:
+11
-6
@@ -2,9 +2,9 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Frigate Card</title>
|
||||
<title>Advanced Camera Card</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
<meta name="description" content="Frigate Card Documentation" />
|
||||
<meta name="description" content="Advanced Camera Card Documentation" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no, viewport-fit=cover"
|
||||
@@ -27,6 +27,7 @@
|
||||
<style>
|
||||
:root {
|
||||
--content-max-width: 95vw;
|
||||
--cover-heading-font-size-max: 48;
|
||||
}
|
||||
.svg-icon {
|
||||
background-color: rgb(255, 255, 255);
|
||||
@@ -34,6 +35,9 @@
|
||||
background: repeating-conic-gradient(#80808091 0% 25%, transparent 0% 50%) 50% /
|
||||
4px 4px;
|
||||
}
|
||||
#__sidebar img {
|
||||
max-width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -43,12 +47,13 @@
|
||||
// Full reference: https://docsify.js.org/#/configuration
|
||||
|
||||
// The repo to link to.
|
||||
repo: 'dermotduffy/frigate-hass-card',
|
||||
repo: 'dermotduffy/advanced-camera-card',
|
||||
|
||||
// The overall documentation name.
|
||||
name: 'Frigate Card',
|
||||
name: 'Advanced Camera Card',
|
||||
|
||||
logo: 'images/icons/frigate.svg',
|
||||
// The logo to show on the top of the sidebar.
|
||||
logo: 'images/icons/iris.svg',
|
||||
|
||||
// Automatically go to the top of a page on route change.
|
||||
auto2top: true,
|
||||
@@ -59,7 +64,7 @@
|
||||
// Automatically use headings up to H2 for sider.
|
||||
subMaxLevel: 2,
|
||||
|
||||
// Show the Frigate Card cover page.
|
||||
// Show the Advanced Camera Card cover page.
|
||||
coverpage: true,
|
||||
|
||||
// Use relative links (this way both vscode and docsify work on clicking
|
||||
|
||||
Reference in New Issue
Block a user