Skip to content

Commit

Permalink
Merge pull request #116 from bashtage/role-search
Browse files Browse the repository at this point in the history
ENH: Add support for RTD search
  • Loading branch information
bashtage committed Jul 23, 2021
2 parents 7b15906 + fdf8810 commit 5432f24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/conf.py
Expand Up @@ -51,6 +51,7 @@
"recommonmark",
"sphinx_markdown_tables",
"sphinx_copybutton",
"sphinx_search.extension",
]

autosummary_generate = True
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Expand Up @@ -11,3 +11,4 @@ ipykernel
recommonmark
sphinx_markdown_tables
sphinx-copybutton
readthedocs-sphinx-search
2 changes: 1 addition & 1 deletion sphinx_material/sphinx_material/searchbox.html
Expand Up @@ -2,7 +2,7 @@
<div class="md-search" data-md-component="search" role="dialog">
<label class="md-search__overlay" for="__search"></label>
<div class="md-search__inner" role="search">
<form class="md-search__form" action="{{ pathto('search') }}" method="GET" name="search">
<form class="md-search__form" action="{{ pathto('search') }}" method="get" name="search">
<input type="text" class="md-search__input" name="q" placeholder="Search"
autocapitalize="off" autocomplete="off" spellcheck="false"
data-md-component="query" data-md-state="active">
Expand Down

0 comments on commit 5432f24

Please sign in to comment.