Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Releases and Announcements

Latest news about the SilverStripe software.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

New api.silverstripe.org: Version specific, searchable - needs your help!


Reply

16 Posts   3560 Views

Avatar
Ingo

7 May 2010 at 9:36am Forum Moderator, 801 Posts

Sweet, i've hidden the file listing by default, its toggleable (I love this word...) by JavaScript.

Avatar
Ingo

10 May 2010 at 11:10am Forum Moderator, 801 Posts

I've also put our javascript API docs online (via naturaldocs.org): http://api.silverstripe.org/js/trunk
This is for trunk only, as lots of the 2.4 javascript is de facto deprecated, and has little documentation.
You can see an example of the documentation style needed to generate these docs at http://open.silverstripe.org/browser/modules/cms/trunk/javascript/LeftAndMain.EditForm.js

Please let me know if you think this will be useful, mainly for figuring out what/where to customize in the CMS UI. The whole jQuery.entwine "CSS selector = class" paradigm is still fairly young and unexplored, particularly around documenting stuff. Feedback welcome, as always! :)

Avatar
swaiba

16 June 2010 at 2:02am Forum Moderator, 1796 Posts

How can I search this? at the moment it is very annoying to find class definitions... I must be missing something...

Avatar
Ingo

16 June 2010 at 12:27pm Forum Moderator, 801 Posts

Hey swaiba, the API search is work in progress. For now, I suggest you use the "element index" at http://api.silverstripe.org/2.4/elementindex.html.

Alternatively, you can use Google and limit to the api site: http://www.google.co.nz/search?hl=en&q=AsTableRow+site:api.silverstripe.com/2.4&aq=f&aqi=&aql=&oq=&gs_rfai=

Avatar
swaiba

18 June 2010 at 9:38pm Forum Moderator, 1796 Posts

Thanks Ingo... I have updated my homepage with...

<br /><center><form name=f1 method="get" action="http://www.google.com/search">
                  <input type="text" name="q" size="31" maxlength="255" value="" /><br />
                  <input type="radio" name="sitesearch" value="api.silverstripe.com/2.4" checked />Silverstripe API<br />
                  <input type="submit" value="Google Search" /><br /><br />
               </form></center>

Avatar
Ironcheese

18 July 2010 at 11:30pm Community Member, 33 Posts

Is it just me or is the api Site down?
It always times out....

Avatar
Ingo

19 July 2010 at 8:11am Forum Moderator, 801 Posts

Yes, the server is down - we're looking into it.

Avatar
Ingo

19 July 2010 at 10:06am Forum Moderator, 801 Posts

Back up now, sorry for the inconvenience.