In the documentation you build, you can change the Doxygen options to enable a search field.I am not familiar with Doxygen (and I wonder why such a search field is not enabled by default). Anyway, if the end of doxyfile.in I noticed a tag, "SEARCHENGINE", which is disabled by default. Is that all I need to change?
Anyway, if the end of doxyfile.in I noticed a tag, "SEARCHENGINE", which is disabled by default. Is that all I need to change?Test and find out.™ ;)
If it's easy to do, I'd also suggest to enable it for the official website. Doesn't hurt anyone I guess.+1 :)
Doesn't hurt anyone I guess.It requires JavaScript, so it may not work depending on the security settings. In Internet Explorer, it triggers a security warning.
In Internet ExplorerI stopped reading there. ;)
Anyway, if the end of doxyfile.in I noticed a tag, "SEARCHENGINE", which is disabled by default. Is that all I need to change?Test and find out.™ ;)
Yes, that's all you need to change. And you don't have to recompile the library, just compile the documentation (make doc)Merci Laurent :)
Well, nobody wants to recompile a big library with several dependencies just because *maybe* changing a tag will fix the problem. Looking at the doxyfile doesn't make it clear at all by the way, not to mention most people don't have prior need to use doxygen to even know where to look. Sorry if I wasted your time, but I thought it wouldn't hurt to ask in the forums before recompiling everything, and I admit I expected an answer. A simple "yes" or "no" would waste less of your time anyway, instead of "try it out", "it's simple to do it" but no hint.I'm sorry if that offended you. The problem is though, that most of us won't really know it either or not in all details. So rather then relying on others to search Doxygens documentation, or test it out on their own, you could test it yourself, thus not wasting ours nor your time.
Unfortunately, it doesn't seem to work. I now get a search box in /usr/local/share/SFML/doc/html/index.htm but it is dead, whatever I type there doesn't have any effect. I am using Debian's Iceweasel, which is actually Firefox. Javascript is enabled. Note that the rest of the compiled SMFL 2 works perfectly.As you see now, the "yes" didn't really help you that much and you had to try it out anyways. ;)
The javascript backend is buggy (maybe it worked in the past with older version of doxygen ?). For a school project, we had to use the php backend to make it work.Seems to work fine. :)
I stopped reading there. ;)I almost wrote something because I expected exactly such a statement. Sometimes, you are really predictable. It's a pity that such comments are ever-present as soon as Microsoft products are mentioned.
It requires JavaScript, so it may not work depending on the security settings. In Internet Explorer, it triggers a security warning.To be honest, if you're using IE and if you're going for the paranoia security settings, then you should already know this and that's not a problem SFML has to take into consideration. You just can't go and support any darn browser that has ever existed with any kind of possible addons and settings combination. Or do we also have to make sure that it renders well in Lynx or Netscape?
You just can't go and support any darn browser that has ever existed with any kind of possible addons and settings combination.No, but you should at least support the default browser on Windows with the default settings.
No, but you should at least support the default browser on Windows with the default settings.Well the site loads fine, just the JavaScript doesn't. So you suggest we don't use JavaScript, because IE doesn't support it by default (for some strange reason)?
The main problem here is, that SFML uses it's own header, which doesn't include the search JavaScript file and thus, all JavaScript calls fail.Indeed it works. Not the best solution ever I guess, but way better than no search at all. Thank you :)
If however you add<script type="text/javascript" src="search/search.js"></script>to the header it works, but it isn't really integrated into the design.
<link href="search/search.css" rel="stylesheet" type="text/css"/>