[openstack-dev] [nova][docs] O search where art thou?

Sean Dague sean at dague.net
Fri Aug 11 13:10:59 UTC 2017


On 08/11/2017 08:50 AM, Anne Gentle | Just Write Click wrote:
> Yeah, I need to circle back in the theme work to make sure both search scopes are available. My prior attempt had some wonky CSS debugging and I needed to separate patches more.
> 
> I'll put up another patch to the theme today to bring in the Sphinx search in the sidebar as it was before.
> 
> I'm not sure how to solve the sort problem Sean notes, would like help there.
> Hope this helps - 
> Anne

If we have the option to use sphinx baked in search, instead of the
bounce out to google swift_search that's being installed, it's all
solved. The sphinx search builds the search terms into a compiled
javascript file on build, and will only link to content in the tree.

I think the thing to do is probably enhance openstackdocstheme to have
some toggle of "local_search = True" which would get rid of swift_search
and just use baked in local search. Then on a per site basic people
could turn it on / off, and openstackdocstheme could still be used for
sites that want global search.

	-Sean

-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list