Skip to content

Commit 731513a

Browse files
committed
Remove mkdocs indexing
1 parent d70b980 commit 731513a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

readthedocs/projects/tasks.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -502,11 +502,8 @@ def build_docs_html(self):
502502

503503
def build_docs_search(self):
504504
"""Build search data with separate build."""
505-
if self.build_search:
506-
if self.project.is_type_mkdocs:
507-
return self.build_docs_class('mkdocs_json')
508-
if self.project.is_type_sphinx:
509-
return self.build_docs_class('sphinx_search')
505+
if self.build_search and self.project.is_type_sphinx:
506+
return self.build_docs_class('sphinx_search')
510507
return False
511508

512509
def build_docs_localmedia(self):

0 commit comments

Comments
 (0)