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 <mariograzi...@gmail.com>:
> 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 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.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
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.

Reply via email to