Re: [PHP-WEBMASTER] svn: /web/php/trunk/ js/common.js search-index.php styles/structure.css
[email protected] (Hannes Magnusson)
| Newsgroups | php.webmaster |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jan 1, 2011 at 19:36, Stewart Lord <[email protected]> wrote: > On 2010-12-31, at 2:07 AM, Hannes Magnusson wrote: > >> bjori Fri, 31 Dec 2010 10:07:10 +0000 >> >> Revision: 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