forked from zaclys/searxng
		
	[doc] say how many engines are supported / enabled
This commit is contained in:
		
							parent
							
								
									06435e08ef
								
							
						
					
					
						commit
						33983809e4
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,8 @@ Explanation of the :ref:`general engine configuration` shown in the table
 | 
			
		|||
 | 
			
		||||
.. jinja:: searx
 | 
			
		||||
 | 
			
		||||
   SearXNG supports {{engines | length}} search engines (of which {{enabled_engine_count}} are enabled by default).
 | 
			
		||||
 | 
			
		||||
   {% for category, engines in engines.items() | groupby('1.categories.0') %}
 | 
			
		||||
 | 
			
		||||
   {{category}} search engines
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,6 +47,7 @@ jinja_contexts = {
 | 
			
		|||
        'version': {
 | 
			
		||||
            'node': os.getenv('NODE_MINIMUM_VERSION')
 | 
			
		||||
        },
 | 
			
		||||
        'enabled_engine_count': sum(not x.disabled for x in searx.engines.engines.values()),
 | 
			
		||||
    },
 | 
			
		||||
}
 | 
			
		||||
jinja_filters = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue