hirosystems / docs

Hiro developer documentation website
https://docs.hiro.so/
34 stars 55 forks source link

feat: clarity documentation #721

Closed ryanwaits closed 2 weeks ago

ryanwaits commented 1 month ago

What does this PR do?

This PR introduces a new initiative in our documentation that emphasizes the why and when behind using specific Clarity functions, alongside real-world blockchain use cases.

Each section explains relevant use cases, discusses the significance of the functions, and includes code samples to illustrate their implementation, along with best practices and common patterns.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hiro-systems-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2024 0:22am
max-crawford commented 2 weeks ago

On the overview page for Clarity, in the Function categories cards, the cryptographic functions and the time-based logic cards have broken sidebars. Once I click into those guides, the left hand side shows Bitcoin, guides, and stacks.

These pages should just show the Clarity side bar.

Also on the note of the sidebar, should these 4 guides be linked there under Advanced or below introduction?

ryanwaits commented 2 weeks ago

Once I click into those guides, the left hand side shows Bitcoin, guides, and stacks.

ah good catch - those were meant to be hidden (as you can see they don't appear on the sidebar). I forgot about the cards on the intro page that link to them. I've updated the intro page to not link to these guides since they are not complete.

Also on the note of the sidebar, should these 4 guides be linked there under Advanced or below introduction?

I updated that section to be a Guides section, and sit above the Functions section.

cc @max-crawford