-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Issue to be solved
At the moment, when you click on the contract it takes you to the contract "overview" page, where various actions and metadata are shown. Besides that, the full contract source code is also shown - which can be used by devs to check if this contract is what they are looking for (by examining the source code) and to learn about the API and its usage (so for documentation purposes).
I wonder if the overview page could be simplified to show a more high-level overview of the code, instead of dumping the whole source code on the user, which can be pretty hard to digest for more complex contracts.
Suggest A Solution
What about using the Cadence documentation generator tool to automatically generate the contract docs on the fly and showing that on the overview page instead of the full source code?
This would also be aligned with how other package registries do it:
Instead, we could rename the "components" tab to "Source code" and show the source code (+ the existing list of components) there instead: https://contractbrowser.com/A.1d7e57aa55817448.NonFungibleToken/components
What are you currently working on that this is blocking?
No response

