Closed moul closed 2 days ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 63.79%. Comparing base (
b3800b7
) to head (ba3ff33
). Report is 3 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
We should have a "root" README for the demo
, sys
, gov
, docs
namespaces. This would be displayed when users look up the namespace root, ie gno.land/r/docs/
, apart from some other info, like the list of pkgs, number, etc (tbd with gnoweb2).
I can help bootstrap these files if needed. They're meant to give context to the users about what the namespace is for.
Also, all/most r/docs realms would correspond to a specific package, concept, usage; we should reference those when it makes sense; maybe as a doc.gno
giving a brief overview apart from the code itself.
Introducing the
r/docs
namespace, where the homepage currently lists subrealms manually. In the future, we may implement a registry, but for now, we’re keeping the source code as lean as possible. The namespace includes several interactive examples to guide users through key concepts.The
r/docs/hello
example provides a simple Render function and invites users to click on "view source" to understand the basics of customization. Ther/docs/avl_pager
example demonstrates path-based interactions, allowing users to explore an avl tree structure with pagination links to navigate between items. Users are encouraged to click on these links for inspiration before manually adjusting parameters in the URL. The addedr/docs/add
example introduces interactivity through transactions, allowing users to adjust a number by submitting transactions, and see the updated result with each interaction.These examples are designed to engage users with Render-based UI interactions, path handling, and transaction-based updates. Once we have more content in r/docs, this section could serve as the main documentation link in the navbar, providing a comprehensive, hands-on introduction to Gno.
Addresses #3084 Addresses https://github.com/gnolang/docs-v2/pull/27#discussion_r1848481556 Addresses #2953