Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flag to disable docsearch #4570

Merged
merged 4 commits into from
Aug 25, 2018

Conversation

davidfischer
Copy link
Contributor

Add a JS flag under READTHEDOCS_DATA for disabling docsearch.

Longer term, there will be a server side staff-only feature flag which sets the same variable. Ideally this feature can completely go away once the search improvements are deployed.

Related to #4452.

@davidfischer davidfischer requested a review from a team August 24, 2018 23:25
Copy link
Contributor

@agjohnson agjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We could recompile assets here or against rel maybe.

@davidfischer
Copy link
Contributor Author

I checked in the compiled version. I'll do a squash and merge.

@davidfischer davidfischer merged commit dbad255 into master Aug 25, 2018
@davidfischer davidfischer deleted the davidfischer/disable-search-js-flag branch August 25, 2018 00:02
davidfischer added a commit that referenced this pull request Aug 25, 2018
* Add a flag to disable docsearch

* Disable Docsearch with a feature on READTHEDOCS_DATA

* Make the comment clearer

* Checkin compiled built assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants