All checks were successful
		
		
	
	Run unit tests / copyright_notice (pull_request) Successful in 1m27s
				
			Run unit tests / rubocop (pull_request) Successful in 1m46s
				
			Run unit tests / check-licenses (pull_request) Successful in 1m56s
				
			Run unit tests / unit_tests (pull_request) Successful in 3m14s
				
			Run unit tests / build-static-assets (pull_request) Successful in 40m16s
				
			
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
 | 
						|
 | 
						|
# WickedPDF Global Configuration
 | 
						|
#
 | 
						|
# Use this to set up shared configuration options for your entire application.
 | 
						|
# Any of the configuration options shown here can also be applied to single
 | 
						|
# models by passing arguments to the `render :pdf` call.
 | 
						|
#
 | 
						|
# To learn more, check out the README:
 | 
						|
#
 | 
						|
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
 | 
						|
 | 
						|
WickedPdf.configure do |config|
 | 
						|
  # Path to the wkhtmltopdf executable: This usually isn't needed if using
 | 
						|
  # one of the wkhtmltopdf-binary family of gems.
 | 
						|
  # config.exe_path = '/usr/local/bin/wkhtmltopdf'
 | 
						|
  #   or
 | 
						|
  # config.exe_path = Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')
 | 
						|
 | 
						|
  # Needed for wkhtmltopdf 0.12.6+ to use many wicked_pdf asset helpers
 | 
						|
  # config.enable_local_file_access = true
 | 
						|
 | 
						|
  # Layout file to be used for all PDFs
 | 
						|
  # (but can be overridden in `render :pdf` calls)
 | 
						|
  # config.layout = 'pdf.html'
 | 
						|
 | 
						|
  # Using wkhtmltopdf without an X server can be achieved by enabling the
 | 
						|
  # 'use_xvfb' flag. This will wrap all wkhtmltopdf commands around the
 | 
						|
  # 'xvfb-run' command, in order to simulate an X server.
 | 
						|
  #
 | 
						|
  # config.use_xvfb = true
 | 
						|
end
 |