Re: Case statement in manual
- Posted by mattlewis (admin) Dec 05, 2013
- 2056 views
Aside from Kat's suspected persecution complex, I must be missing something, because when I tried searching 'case', 'fallthru' and 'label' using the OpenEuphoria's website search feature, I got a result which pointed to an entry in the manual that was helpful. So it doesn't seem broken to me.
What exactly is it that you want to see when you use these terms for searching?
Yes, it wasn't completely wrong, but it missed other places that are more informational. When searching, I got the formal syntax for switch. That's a good link, but it would be nice to get the "see also" link there that goes to the switch statement documentation.
I forget all of the details, but when we went to using tex to generate pdf, the way we output anchors changed (switched from before to after or vice versa), and it broke the way we generated the index for the documentation, which is what the search feature uses to search the manual.
Take a look at source/manimport.ex in the euweb repo. That's the code that adds the links into the search function. It's not nearly as good as what we had before, and Kat has pointed out other things that it fails to find (I'm sure she could dig them up, but I don't recall what they are, off the top of my head).
FYI, that utility is executed with this command line:
eui manimport.ex ../htdocs/docs/*html
Where ../htdocs/docs is the path to the html version of the manual, which can be built with eudoc and creole using the "manual" makefile target.
Matt