gtalarico / revitapidocs

Online Revit API Documentation: 2015, 2016, 2017, 2017.1, 2018
http://www.revitapidocs.com
33 stars 20 forks source link

Better Results Interface #45

Closed gtalarico closed 7 years ago

gtalarico commented 7 years ago
gtalarico commented 7 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

gtalarico commented 7 years ago

In progress :

andydandy74 commented 7 years ago

@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.

andydandy74 commented 7 years ago

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:

gtalarico commented 7 years ago

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!

gtalarico commented 7 years ago

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)

gtalarico commented 7 years ago

@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)

andydandy74 commented 7 years ago

Yes, that looks great!

gtalarico commented 7 years ago

Stable RC on bc1cdfb63781e4c5da34f0c0ab4021c41c862cc1