Thank you very much, Takayuki: it worked! In fact I tried with Firefox and even with Reconq (KDE browser) and I had no problems at all.
I then tried your sugested option (A) and it worked too, which I'm reporting beneath hoping it might be helpful to someone else. 1. cd into _build/html 2. launch python -m SimpleHTTPServer 3. access localhost at port 8000 and try a search: it will work properly. Il giorno martedì 21 agosto 2012 11:58:48 UTC+2, Takayuki SHIMIZUKAWA ha scritto: > > Hi Mario, > > Google Chrome can't execute file:// scheme's (sphinx) javascript. > # see also: https://bitbucket.org/birkenfeld/sphinx/issue/723 > > There are some ways to enable it. > > A. Invoke HTTP Server (cd _build/html && python -m SimpleHTTPServer) > B. Invoke chrome with `–allow-file-access-from-files` option, but maybe > risky. > C. Patch #723 to your layout.html template. > > # My choice is A. > > Regards, > -- > Takayuki SHIMIZUKAWA > Sphinx-users.jp > > 2012/8/20 Mario Graziosi <mariog...@gmail.com <javascript:>>: > > How do I enable the Quick Search via Sphinx? > > > > I'm developing docs of my project on my PC and I'm not (yet) publishing > the > > docs to a web server. To check the docs I simply use a brower (Chrome) > > pointing to the filesystem url (e.g. > > file:///home/myproject/path/doc/_build/html/index.html). However, when I > try > > to search for any term using the Quick Search , the search result is > always > > empty. > > > > Should I enable some parameter in the config file? What am I missing? > > > > Mario. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "sphinx-dev" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/sphinx-dev/-/vZJt9A4Mb1EJ. > > To post to this group, send email to > > sphin...@googlegroups.com<javascript:>. > > > To unsubscribe from this group, send email to > > sphinx-dev+...@googlegroups.com <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/sphinx-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/8fpgCFh1YlMJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.