From 8e2875b27747b6df29ab77c6e055d258317c3913 Mon Sep 17 00:00:00 2001 From: rameshthoomu Date: Fri, 16 Sep 2016 15:44:37 -0400 Subject: [PATCH] FAB-385 fix search issue in readthedocs 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 --- docs/custom_theme/searchbox.html | 5 +++++ mkdocs.yml | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 docs/custom_theme/searchbox.html diff --git a/docs/custom_theme/searchbox.html b/docs/custom_theme/searchbox.html new file mode 100644 index 00000000..33ed3e24 --- /dev/null +++ b/docs/custom_theme/searchbox.html @@ -0,0 +1,5 @@ +
+
+ +
+
diff --git a/mkdocs.yml b/mkdocs.yml index b81da566..87642eb3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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