From aafe328001485c4f2621172e0d0ea1a36c470495 Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Fri, 14 Jun 2019 14:07:15 +0100 Subject: [PATCH] doc: Disable sphinx.ext.viewcode This extension provides the syntax-highlighted HTML pages containing plain Python code, which clutters the search box results. Since nobody is really using that feature, disable it. --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 94f112383..8290eb84b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -129,7 +129,7 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', - 'sphinx.ext.viewcode', + # 'sphinx.ext.viewcode', 'sphinx.ext.inheritance_diagram', 'sphinxcontrib.plantuml', ] -- GitLab