mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 23:31:33 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			231 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			231 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
LISTEN_ADDRESS=127.0.0.1:8088
 | 
						|
 | 
						|
script_dir=$(realpath $(dirname $0))
 | 
						|
output_dir="$script_dir/../../docs"
 | 
						|
echo "Preview the documentation at http://$LISTEN_ADDRESS"
 | 
						|
httpd -fv -p "$LISTEN_ADDRESS" -h "$output_dir" |