36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace KbMarkdownImporter;
|
|
|
|
final class Settings
|
|
{
|
|
public static function defaults(): array
|
|
{
|
|
return [
|
|
'gitlab_base_url' => '',
|
|
'gitlab_token' => '',
|
|
'gitlab_group' => 'knowledgebase',
|
|
'branch_pattern' => '^v.*',
|
|
'docs_base_slug' => 'docs',
|
|
'image_lightbox' => '1',
|
|
'public_docs' => '0',
|
|
'cron_interval' => 'disabled',
|
|
'allow_svg' => '0',
|
|
'design_theme' => 'obyte',
|
|
'design_primary_color' => '#00A7E6',
|
|
'design_accent_color' => '#F59C00',
|
|
'design_radius' => '14',
|
|
'custom_theme_css_url' => '',
|
|
'docs_home_intro_title' => 'So nutzt du die Dokumentation',
|
|
'docs_home_intro_content' => '<p>Wähle links ein Produkt aus und öffne anschließend die passende Version. Innerhalb einer Version findest du die zugehörigen Seiten der Dokumentation in der Navigation.</p>',
|
|
'product_updates_source' => 'olm_changelog',
|
|
'product_updates_olm_months' => '4',
|
|
'product_updates_olm_ignore_numbers' => 'olm-10109,olm-10110',
|
|
'olm_base_url' => 'https://olm.o-byte.com',
|
|
'olm_username' => '',
|
|
'olm_password' => '',
|
|
];
|
|
}
|
|
}
|