arcgis-python-api icon indicating copy to clipboard operation
arcgis-python-api copied to clipboard

Readability and navigability of the API reference

Open avstjohn opened this issue 1 year ago • 7 comments
trafficstars

Is your feature request related to a problem? Please describe. It is difficult to navigate the API reference and to know what are all of the methods and properties available to a class. For example, in the image below, I can search for the FeatureLayer class and it would be extremely helpful if there were an additional submenu in the left panel or some kind of summary of methods and properties.

image

The module page is not granular or navigable enough (very long web page) to efficiently show methods and properties available to a class.

Thanks!

avstjohn avatar Nov 20 '23 19:11 avstjohn

@avstjohn Hello, this is an ongoing effort in our team. Unfortunately it's not as straightforward as we would like but this is constantly being worked on to the best of our ability and we hope to have an update with this notation in the future.

cc @jyaistMap

nanaeaubry avatar Nov 21 '23 07:11 nanaeaubry

Thank you @nanaeaubry for the note and apologies if it is a very redundant message at this point.

avstjohn avatar Nov 21 '23 13:11 avstjohn

@avstjohn Not redundant at all! It's good to know what we have requests for this and that you care! Always happy for the feedback :)

We can keep this issue open so other documentation enhancement requests can be made and we will update with any progress we make!

nanaeaubry avatar Nov 21 '23 14:11 nanaeaubry

@avstjohn To elaborate just a bit, the system we use to build the API Reference doesn't currently provide the output the website publishing application needs to provide for expanding the classes to see the properties and methods. Admittedly, the navigation on the site is frustrating - we experience it, too. As @nanaeaubry mentioned, we're actively researching it and investigating alternatives. When we find one, we can all rejoice together. Until then, bear with us.

jyaistMap avatar Nov 21 '23 20:11 jyaistMap

Thanks for the elaboration!

avstjohn avatar Nov 21 '23 20:11 avstjohn

To add to this; the version selector (which was available before) was really useful, since many times, you're not coding against the latest version of the API, and cannot upgrade easily.

sverkerEsriSE avatar Dec 11 '23 16:12 sverkerEsriSE

We should invest into this. Especially our graduates and data science teams getting their hands dirty would highly appreciate this enhancement. Furthermore, we need more type definitions regarding return types, and also possible exception which can be raised. We know this is a huge investment, but we should invest into clean type declarations for every class, method, function which can be analyzed by the intelli-sense capabilities of the IDEs.

esride-jts avatar May 16 '24 11:05 esride-jts