Re: svn: /web/php/trunk/ js/common.js search-index.php styles/structure.css
| From: | Hannes Magnusson | Date: | Sat, 01 Jan 2011 18:46:58 +0000 |
| Subject: | Re: svn: /web/php/trunk/ js/common.js search-index.php styles/structure.css | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-10152@lists.php.net to get a copy of this message | ||
On Sat, Jan 1, 2011 at 19:36, Stewart Lord <stewey@ambitious.ca> wrote:
> On 2010-12-31, at 2:07 AM, Hannes Magnusson wrote:
>
>> bjori Fri, 31 Dec 2010 10:07:10 +0000
>>
>> Revision: Á&
>> ¯
9ᧇչ£@´'http://svn.php.net/viewvc?view=revision&revision=306909
>>
>> Log:
>> - Use the generated search index from PhD (generated at the same time as the docs)
>> - Add descriptions into the search results
>> - Only sort possible matches, rather then the entire index everytime
>> - Use "poor-mans-categorization" - with the 'proper categorization'
>> code
>> commented out. Maybe provide an my.php option in the future for it?
>>
>> Changed paths:
>> U web/php/trunk/js/common.js
>> A web/php/trunk/search-index.php
>> U web/php/trunk/styles/structure.css
>
>
> Hi Hannes,
>
> Since this change I am seeing a syntax error in Chrome and Safari when the page loads.
>
> "Uncaught SyntaxError: Unexpected end of input"
> /?beta=1:1
>
> Then if I try to type in the search field I get:
>
> "Uncaught ReferenceError: searchIndex is not defined"
> /js/common.js:96
Thats because the search index is now generated by PhD and is language
specific, living in the /manual/<lang>/ folders.
Since I didn't manage to make a release of PhD before the last manual
rebuild last Friday, this only works on http://docs.php.net which
uses
PhD from svn.
-Hannes