Closed wernerkrauss closed 5 years ago
Nice catch! Fancy a pull request? The website is open source :-D
Did a quick fix https://github.com/silverstripe/api.silverstripe.org/pull/86
When will api docs be rebuilt to include this fix?
I'll deploy this to the UAT site now. I've sent @maxime-rainville a production deployment request to look at on Monday.
The deploy was completed sucessfully, however I'm still getting the old URL in the opensearch.xml file https://api.silverstripe.org/4/opensearch.xml
Is there a CDN/Cache in front of the site?
CloudFlare probably, can you cache bust to see the new content?
Don't think I've got access to that.
Oh, looks like the file is generated as part of the docs generation process. Let's give it a day to regenerate itself.
It's working correctly now.
I added the "SilverStripe Apidocs" to my search bar in firefox.
Unfortunately it points to sami's default search url
https://api.silverstripe.org/4/index.html?q={searchterm}
instead ofhttps://api.silverstripe.org/4/search.html?search={searchterm}
same for SS3 search and Master search.
This can be configured in /conf/themes/silverstripe/opensearch.twig
It might also be useful to add a favicon.