mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[help] move about.md to searx/help/en/
This commit is contained in:
		
							parent
							
								
									740e3bc90f
								
							
						
					
					
						commit
						579334a7d8
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -47,7 +47,7 @@ def render(app: flask.Flask):
 | 
			
		|||
    define_link_targets = ''.join(f'[{name}]: {url}\n' for name, url in link_targets.items())
 | 
			
		||||
 | 
			
		||||
    for pagename in _TOC:
 | 
			
		||||
        file_content = pkg_resources.resource_string(__name__, 'help/' + pagename + '.md').decode()
 | 
			
		||||
        file_content = pkg_resources.resource_string(__name__, 'help/en/' + pagename + '.md').decode()
 | 
			
		||||
        markdown = define_link_targets + file_content
 | 
			
		||||
        assert file_content.startswith('# ')
 | 
			
		||||
        title = file_content.split('\n', maxsplit=1)[0].strip('# ')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue