Skip to content

Commit

Permalink
FAB-385 fix search issue in readthedocs
Browse files Browse the repository at this point in the history
created custom search.html file and update in mkdocs.yml file
also updated yaml file with strict set to true. This fails the
documentation build if it detemines a broken link.

https://jira.hyperledger.org/browse/FAB-385

Change-Id: I6f7a60d980af07e14c8b2940d1aa224108c6416a
Signed-off-by: rameshthoomu <rameshbabu.thoomu@gmail.com>
  • Loading branch information
rameshthoomu committed Sep 16, 2016
1 parent 02a123c commit 8e2875b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/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>
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ site_url: http://hyperledger-fabric.readthedocs.io
theme: readthedocs
repo_url: http://gerrit.hyperledger.org/r/fabric
site_description: 'Welcome to the Hyperledger fabric documentation'
strict: true
theme_dir: 'docs/custom_theme'

pages:
- Home: index.md
Expand Down

0 comments on commit 8e2875b

Please sign in to comment.