Skip to content

Commit

Permalink
Fix searchbar on website (#1714)
Browse files Browse the repository at this point in the history
* Fix searchbar on website

 - See readthedocs/sphinx_rtd_theme#346 for description of issue and solution
 - Required for search to work with Sphinx v1.5.4+

* add minimal version
  • Loading branch information
jigold authored and danking committed May 2, 2017
1 parent 5a01376 commit 4ab7cf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/hail/docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@
VERSION:'{{ release|e }}',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }}
HAS_SOURCE: {{ has_source|lower }},
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
};
</script>
{%- for scriptfile in script_files %}
Expand Down
2 changes: 1 addition & 1 deletion python/hail/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# If your documentation needs a minimal Sphinx version, state it here.
#
needs_sphinx = '1.4'
needs_sphinx = '1.5.4'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
Expand Down

0 comments on commit 4ab7cf8

Please sign in to comment.