Skip to content

Commit

Permalink
workaround searching for RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
Cong Liu authored and rogerwang committed Jun 1, 2016
1 parent 58ae804 commit 63a4c8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom_theme/searchbox.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div role="search">
<form id ="rtd-search-form-alt" class="wy-form" action="{{ base_url }}/search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
</form>
</div>
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
site_name: NW.js Documentation
theme: readthedocs
theme_dir: 'custom_theme'
markdown_extensions:
- markdown.extensions.toc
- markdown.extensions.admonition
Expand Down

0 comments on commit 63a4c8b

Please sign in to comment.