Added a few log statements
This commit is contained in:
		
							
								
								
									
										5
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								build.sh
									
									
									
									
									
								
							| @@ -148,6 +148,9 @@ md_to_html() { | ||||
| 	local files=$(find "$BASE_PATH/source" -name "*.md") | ||||
|  | ||||
| 	for file in $files; do | ||||
|  | ||||
| 		echo "Converting $file" | ||||
|  | ||||
| 		read_metadata "$file" # Sets the 'metadata' variable | ||||
|  | ||||
| 		convert_to_array "$metadata" #Sets the 'meta_array' array | ||||
| @@ -206,6 +209,8 @@ gen_sorted_file_list() { # Generate a list of the HTMl files, sorted by when the | ||||
|  | ||||
| gen_index_page() { # Generate an index page (site map) that includes links to the other pages | ||||
|  | ||||
| 	echo "Generating index page..." | ||||
|  | ||||
| 	local index_file_html="<nav class=\"toc\">"$'\n' # Variable to store the body HTML of the index page; enclose the list in a nav | ||||
|  | ||||
| 	for file in $1; do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user