Skip to content

Commit 595b116

Browse files
committed
Config: Update automatically generated docs for configuration options
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent 73374cb commit 595b116

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

internal/config/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ var Flags = CliFlags{
354354
Usage: "maximum `NUMBER` of indexing workers, default depends on the number of physical cores",
355355
Value: cpuid.CPU.PhysicalCores / 2,
356356
EnvVars: EnvVars("INDEX_WORKERS", "WORKERS"),
357-
}}, {
357+
}, DocDefault: " "}, {
358358
Flag: &cli.StringFlag{
359359
Name: "index-schedule",
360360
Usage: "indexing `SCHEDULE` in cron format (e.g. \"@every 3h\" for every 3 hours; \"\" to disable)",

internal/config/report_sections.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We recommend that only advanced users change these parameters:`
1515

1616
// OptionsReportSections is used to generate config options reports in ../commands/show_config_options.go.
1717
var OptionsReportSections = []ReportSection{
18-
{Start: "PHOTOPRISM_ADMIN_PASSWORD", Title: "Authentication"},
18+
{Start: "PHOTOPRISM_AUTH_MODE", Title: "Authentication"},
1919
{Start: "PHOTOPRISM_LOG_LEVEL", Title: "Logging"},
2020
{Start: "PHOTOPRISM_CONFIG_PATH", Title: "Storage"},
2121
{Start: "PHOTOPRISM_SIDECAR_PATH", Title: "Sidecar Files"},
@@ -25,7 +25,7 @@ var OptionsReportSections = []ReportSection{
2525
{Start: "PHOTOPRISM_READONLY", Title: "Feature Flags"},
2626
{Start: "PHOTOPRISM_DEFAULT_LOCALE", Title: "Customization"},
2727
{Start: "PHOTOPRISM_SITE_URL", Title: "Site Information"},
28-
{Start: "PHOTOPRISM_HTTPS_PROXY", Title: "Proxy Servers"},
28+
{Start: "PHOTOPRISM_HTTPS_PROXY", Title: "Proxy Server"},
2929
{Start: "PHOTOPRISM_DISABLE_TLS", Title: "Web Server"},
3030
{Start: "PHOTOPRISM_DATABASE_DRIVER", Title: "Database Connection"},
3131
{Start: "PHOTOPRISM_FFMPEG_BIN", Title: "File Conversion"},
@@ -49,9 +49,10 @@ var YamlReportSections = []ReportSection{
4949
{Start: "BackupPath", Title: "Backup"},
5050
{Start: "IndexWorkers", Title: "Indexing"},
5151
{Start: "ReadOnly", Title: "Feature Flags"},
52-
{Start: "DefaultTheme", Title: "Customization"},
52+
{Start: "DefaultLocale", Title: "Customization"},
5353
{Start: "SiteUrl", Title: "Site Information"},
54-
{Start: "HttpsProxy", Title: "Web Server"},
54+
{Start: "HttpsProxy", Title: "Proxy Server"},
55+
{Start: "DisableTLS", Title: "Web Server"},
5556
{Start: "DatabaseDriver", Title: "Database Connection"},
5657
{Start: "FFmpegBin", Title: "File Conversion"},
5758
{Start: "DownloadToken", Title: "Security Tokens"},

0 commit comments

Comments
 (0)