Docs refactor (#22703)
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions

* add generation script

a script to read yaml code blocks from docs markdown files and generate corresponding "Frigate UI" tab instructions based on the json schema, i18n, section configs (hidden fields), and nav mappings

* first pass

* components

* add to gitignore

* second pass

* fix broken anchors

* fixes

* clean up tabs

* version bump

* tweaks

* remove role mapping config from ui
This commit is contained in:
Josh Hawkins
2026-03-30 10:36:45 -06:00
committed by GitHub
parent a5e3dfd107
commit 5a5d23b503
53 changed files with 5310 additions and 276 deletions
+46
View File
@@ -241,4 +241,50 @@
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
border-left: 3px solid #ff000080;
}
/* ConfigTabs wrapper */
.config-tabs-wrapper {
border: 1px solid var(--ifm-color-emphasis-300);
border-radius: 8px;
overflow: hidden;
margin-bottom: 16px;
}
.config-tabs-wrapper .tabs-container {
margin-bottom: 0 !important;
}
.config-tabs-wrapper .tabs {
background: var(--ifm-color-emphasis-100);
border-bottom: 1px solid var(--ifm-color-emphasis-300);
margin-bottom: 0;
padding: 0 12px;
}
.config-tabs-wrapper .tabs__item {
padding: 8px 16px;
border-radius: 0;
}
.config-tabs-wrapper .tabs__item--active {
border-bottom-color: var(--ifm-color-primary);
}
.config-tabs-wrapper .config-tab-ui {
padding: 4px 16px 16px;
}
.config-tabs-wrapper .config-tab-ui > :last-child {
margin-bottom: 0;
}
.config-tabs-wrapper div[class*="codeBlockContainer"] {
border-top-left-radius: 0;
border-top-right-radius: 0;
margin: 0;
}
.config-tabs-wrapper .tabs-container > .margin-top--md:has(.config-tab-yaml:not([hidden])) {
margin-top: 0 !important;
}