Closed gtalarico closed 8 years ago
@andydandy I have put a new search prototype on the staging site if you want to take a peek, let me know if you have any thought. beta.revitapidocs.com
In progress :
@gtalarico - This looks awesome! Browser history works and I love how the search results are noe presented. Also, it's great that class names are clickable as well! Perhaps it would make sense to show all the relevant API version numbers of a particular item. Right now it seems that the search results always display 2015.
Also: I noticed a new behaviour on the beta site: If I search for a deprecated method it will show up in the search results, no matter which API version I chose as an entry point (nice!). However, when clicking on the result it may return a 404 depending on the entry point (API version) of my search (not so nice). Steps to reproduce:
Awesome. Thanks. Yes, each entry will show the years it's available. Right now I'm just testing one year as I am refining the parser that creates the index. It's a bit tricky because I have to manually extract the relationships (namespace, parent, parent link, etc) individually from each article page by page and try to handle all the different page types (namespace, class, enumeration, methods, etc) but it's getting there!
Yes, I have to figure out to handle the deprecated entries now that I have consolidated the entries in a single index. One options is to just show the entries for the year you are in. The other is to show all, but handle the 404 and show the years that page is available for (better)
@andydandy74 All years added. when clicking on the result it may return a 404 depending on the entry point (API version) checkout out the update, let me know if works (clear cache or use incognito to be sure it's loading latest)
Yes, that looks great!
Stable RC on bc1cdfb63781e4c5da34f0c0ab4021c41c862cc1