mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Ensure we're running in an RTD environment to prevent local doc builds from breaking.
This commit is contained in:
parent
b1b121d8d0
commit
da11202bf1
|
@ -1,3 +1,4 @@
|
||||||
|
if (typeof window.SphinxRtdTheme !== 'undefined') {
|
||||||
Search.query = function(query) {
|
Search.query = function(query) {
|
||||||
var i;
|
var i;
|
||||||
var stopwords = {{ search_language_stop_words }};
|
var stopwords = {{ search_language_stop_words }};
|
||||||
|
@ -148,3 +149,4 @@ Search.query = function(query) {
|
||||||
}
|
}
|
||||||
displayNextItem();
|
displayNextItem();
|
||||||
};
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user