add guide to preview book
This commit is contained in:
		
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							@@ -2,3 +2,18 @@
 | 
			
		||||
 | 
			
		||||
> todo: kristof some content does not belong here, move to other repo
 | 
			
		||||
 | 
			
		||||
## To preview new changes on local browser
 | 
			
		||||
 | 
			
		||||
1. Pull new changes from local
 | 
			
		||||
 | 
			
		||||
(please make sure commit / save your local changes first )
 | 
			
		||||
 | 
			
		||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook -gp
 | 
			
		||||
 | 
			
		||||
2. Build the book locally
 | 
			
		||||
 | 
			
		||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook
 | 
			
		||||
 | 
			
		||||
3. Preview on web browser
 | 
			
		||||
 | 
			
		||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook -o
 | 
			
		||||
		Reference in New Issue
	
	Block a user