Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Searchable documentation?  (Read 11837 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Searchable documentation?
« Reply #15 on: April 19, 2013, 06:41:36 pm »
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?
There are also many people out there that block JavaScript, but is it now SFML's job to provide a non JavaScript-backed search engine, just so they don't have to activate JavaScript?
I don't think so. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Searchable documentation?
« Reply #16 on: April 19, 2013, 06:44:06 pm »
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.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Searchable documentation?
« Reply #17 on: April 19, 2013, 06:50:51 pm »
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)?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Searchable documentation?
« Reply #18 on: April 19, 2013, 06:57:07 pm »
I said we cannot just ignore the fact that a common browser has issues with this search engine. A lot of people might wonder why a security warning pops up when they use the SFML documentation.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Pap

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: Searchable documentation?
« Reply #19 on: April 19, 2013, 07:08:39 pm »
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.
If however you add
<script type="text/javascript" src="search/search.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
to the header it works, but it isn't really integrated into the design.
Indeed it works. Not the best solution ever I guess, but way better than no search at all. Thank you :)
« Last Edit: April 20, 2013, 08:48:24 am by Laurent »

Pap

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: Searchable documentation?
« Reply #20 on: April 19, 2013, 08:15:04 pm »
I am happy I can experiment with SFML using that search box, it makes life way easier. Thanks to anyone who helped :)
« Last Edit: April 20, 2013, 08:48:34 am by Laurent »

 

anything