mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:12:44 +00:00 
			
		
		
		
	man.serenityos.org: Use pandoc for listings and landing page
This makes all pages look and feel the same, because they all use the default CSS generated by pandoc. Also, it inserts the banner everywhere at the top, not only into the top-level index.html. Credit to @xSlendiX for suggesting that `-B` works here.
This commit is contained in:
		
							parent
							
								
									2e613db999
								
							
						
					
					
						commit
						dad47a3dd1
					
				
					 5 changed files with 66 additions and 31 deletions
				
			
		|  | @ -37,8 +37,16 @@ static bool is_missing_file_acceptable(String const& filename) | |||
|         "/usr/share/man/man2/open.md", | ||||
|         "/usr/share/man/man2/ptrace.md", | ||||
|         "/usr/share/man/man5/perfcore.md", | ||||
|         // This one is okay:
 | ||||
|         // These ones are okay:
 | ||||
|         "/home/anon/js-tests/test-common.js", | ||||
|         "/man1/index.html", | ||||
|         "/man2/index.html", | ||||
|         "/man3/index.html", | ||||
|         "/man4/index.html", | ||||
|         "/man5/index.html", | ||||
|         "/man6/index.html", | ||||
|         "/man7/index.html", | ||||
|         "/man8/index.html", | ||||
|     }; | ||||
|     for (auto const& suffix : acceptable_missing_files) { | ||||
|         if (filename.ends_with(suffix)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ben Wiederhake
						Ben Wiederhake