forked from zaclys/searxng
		
	[doc] add global TOC to sidebar
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									69747d5cb3
								
							
						
					
					
						commit
						188efe53e8
					
				
					 2 changed files with 11 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								docs/_themes/searxng/static/searxng.css
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/_themes/searxng/static/searxng.css
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -20,6 +20,10 @@ div.sidebar {
 | 
				
			||||||
  border-radius: 3pt;
 | 
					  border-radius: 3pt;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					div.sphinxsidebar p.caption {
 | 
				
			||||||
 | 
					  display: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
p.sidebar-title, .sidebar p {
 | 
					p.sidebar-title, .sidebar p {
 | 
				
			||||||
  margin: 6pt;
 | 
					  margin: 6pt;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -157,7 +157,13 @@ if CONTACT_URL:
 | 
				
			||||||
    html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL))
 | 
					    html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
html_sidebars = {
 | 
					html_sidebars = {
 | 
				
			||||||
    "**": ["project.html", "relations.html", "searchbox.html", "sourcelink.html"],
 | 
					    "**": [
 | 
				
			||||||
 | 
					        "globaltoc.html",
 | 
				
			||||||
 | 
					        "project.html",
 | 
				
			||||||
 | 
					        "relations.html",
 | 
				
			||||||
 | 
					        "searchbox.html",
 | 
				
			||||||
 | 
					        "sourcelink.html"
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
 | 
					singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}
 | 
				
			||||||
html_logo = "../src/brand/searxng-wordmark.svg"
 | 
					html_logo = "../src/brand/searxng-wordmark.svg"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue