mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-26 17:41:34 +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" | 
