mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Normalize settings.yml.template formatting to YAML 1.2 spec (#3294)
# Description of Changes Please provide a summary of the changes, including: This PR improves the formatting of `settings.yml.template` to better align with [YAML 1.2 specification](https://yaml.org/spec/1.2/spec.html): - Removed unnecessary blank lines for cleaner structure. - Replaced double quotes `""` with single quotes `''` for empty string values, as per YAML 1.2 best practices. - Cleaned up indentation and spacing for better consistency. - Preserved all default values and comments without functional changes. This helps prevent YAML parsing inconsistencies and improves readability for users customizing their `settings.yml`. Closes # (no related issue) --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [x] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details.
This commit is contained in:
		
							parent
							
								
									40211e8c2b
								
							
						
					
					
						commit
						796bf91be9
					
				@ -10,7 +10,6 @@
 | 
			
		||||
# If you want to override with environment parameter follow parameter naming SECURITY_INITIALLOGIN_USERNAME #
 | 
			
		||||
#############################################################################################################
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
security:
 | 
			
		||||
  enableLogin: false # set to 'true' to enable login
 | 
			
		||||
  csrfDisabled: false # set to 'true' to disable CSRF protection (not recommended for production)
 | 
			
		||||
@ -61,7 +60,6 @@ security:
 | 
			
		||||
    privateKey: classpath:saml-private-key.key # Your private key. Generated from your keypair
 | 
			
		||||
    spCert: classpath:saml-public-cert.crt # Your signing certificate. Generated from your keypair
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
premium:
 | 
			
		||||
  key: 00000000-0000-0000-0000-000000000000
 | 
			
		||||
  enabled: false # Enable license key checks for pro/enterprise features
 | 
			
		||||
@ -107,13 +105,11 @@ system:
 | 
			
		||||
    name: postgres # set the name of your database. Should match the name of the database you create
 | 
			
		||||
  customPaths:
 | 
			
		||||
    pipeline:
 | 
			
		||||
      watchedFoldersDir: "" #Defaults to /pipeline/watchedFolders
 | 
			
		||||
      finishedFoldersDir: "" #Defaults to /pipeline/finishedFolders
 | 
			
		||||
      watchedFoldersDir: '' #Defaults to /pipeline/watchedFolders
 | 
			
		||||
      finishedFoldersDir: '' #Defaults to /pipeline/finishedFolders
 | 
			
		||||
    operations:
 | 
			
		||||
      weasyprint: "" #Defaults to /opt/venv/bin/weasyprint
 | 
			
		||||
      unoconvert: "" #Defaults to /opt/venv/bin/unoconvert
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      weasyprint: '' #Defaults to /opt/venv/bin/weasyprint
 | 
			
		||||
      unoconvert: '' #Defaults to /opt/venv/bin/unoconvert
 | 
			
		||||
 | 
			
		||||
ui:
 | 
			
		||||
  appName: '' # application's visible name
 | 
			
		||||
@ -135,7 +131,7 @@ AutomaticallyGenerated:
 | 
			
		||||
  appVersion: 0.35.0
 | 
			
		||||
 | 
			
		||||
processExecutor:
 | 
			
		||||
  sessionLimit:    # Process executor instances limits
 | 
			
		||||
  sessionLimit: # Process executor instances limits
 | 
			
		||||
    libreOfficeSessionLimit: 1
 | 
			
		||||
    pdfToHtmlSessionLimit: 1
 | 
			
		||||
    qpdfSessionLimit: 4
 | 
			
		||||
@ -144,7 +140,7 @@ processExecutor:
 | 
			
		||||
    weasyPrintSessionLimit: 16
 | 
			
		||||
    installAppSessionLimit: 1
 | 
			
		||||
    calibreSessionLimit: 1
 | 
			
		||||
  timeoutMinutes:    # Process executor timeout in minutes
 | 
			
		||||
  timeoutMinutes: # Process executor timeout in minutes
 | 
			
		||||
    libreOfficetimeoutMinutes: 30
 | 
			
		||||
    pdfToHtmltimeoutMinutes: 20
 | 
			
		||||
    pythonOpenCvtimeoutMinutes: 30
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user