Skip to content

Repository files navigation

Hiro Docs

Documentation for Hiro Systems PBC. Built with Fumadocs and enhanced with custom components.

Contributing

Documentation Structure

Component-Based (/tools/*): Features organized by tool capabilities

Example structure:

/tools/clarinet/
├── Overview/ # Introduction and setup
├── Clarinet CLI/ # Command-line features
├── Clarinet JS SDK/ # Testing and programmatic usage
└── Integrations/ # External connections

Writing Guidelines

Follow our content rhythm pattern:

Paragraph (2-3 sentences) → Code Example → Paragraph → List/Table → Code
  • 60% code, 40% text - Show, don't just tell
  • Never put two paragraphs in a row - Break with code/lists/tables
  • Every concept needs a code example
  • Use complete, contextual sentences - Explain "why" before "how"

Available Components

Layout Components

<Steps>
<Step>
 ### Action verb phrase Context sentence explaining what and why. ```terminal
$ command with options ```
</Step>
</Steps>
---
<TerminalPickerstorage="macOs"flags="-w">
```terminal !! macOS$ brew install tool``````terminal !! Windows$ winget install tool```
</TerminalPicker>
---
<CodeTabsstorage="languageSwitcher">
```typescriptconst result =awaitcontract.call();
``````javascriptconstresult=awaitcontract.call();
```
</CodeTabs>

Directives (Auto-converted to components)

:::callout
type: tip|info|warn|help
### Optional Title
Content here
:::
:::objectives
- What you'll learn
- Another learning objective
:::
:::prerequisites
- Required knowledge
- Tools needed
:::
:::next-steps
-[Next Guide](/path): Description
-[Another Guide](/path): Description
:::

Interactive Components

<Accordion>
<AccordionItem>
<AccordionTrigger>Question</AccordionTrigger>
<AccordionContent>Answer</AccordionContent>
</AccordionItem>
</Accordion>
<ImageZoomsrc="/images/diagram.png"alt="Description" />

Code Block Features

Languages: terminal, clarity, typescript, javascript, json, yaml, console, package-install

Flags: -n (line numbers), -c (copy button), -w (word wrap), -a (animate)

Annotations:

```ts// !mark[3:5] Highlight lines 3-5// !mark[/regex/] Highlight pattern// !diff + Addition// !diff - Removal// !collapse[3:5] Collapse lines```

**Special blocks**:
```terminal
$ command # Renders with prompt
```
```package-install
@stacks/connect # Auto-generates npm/yarn/pnpm commands
```

Page Templates

Overview Page

---title: Tool NamesidebarTitle: Overviewdescription: Brief tool description---## Overview
Expand on what the tool does and its value. Include llms.txt link if available.
## Key features-**Feature** - User benefit description
-**Feature** - Technical capability explained simply
## Installation
<TerminalPicker>...</TerminalPicker>
:::next-steps
-[Quickstart](/path): Get started in minutes
:::

Quickstart Page

---title: Quickstartdescription: Learn how to [task] with [tool]---
Brief intro paragraph about what you'll build.
:::objectives
- Learning objective 1
- Learning objective 2
:::
:::prerequisites
- Prerequisites
:::
## Quickstart
<Steps>[3-5 focused steps]</Steps>
:::next-steps
-[Next Guide](/path): Description
:::

File Structure

  • /content/docs/ - All documentation content
  • /components/ - Custom components
  • /public/ - Images and static assets
  • meta.json files control sidebar organization

Quick Checklist

  • Follow content rhythm (no consecutive paragraphs)
  • 60% code, 40% text ratio
  • Every concept has a code example
  • Use appropriate page template
  • Specify language for all code blocks
  • Include context before code
  • Keep paragraphs to 2-3 sentences

Arjun Aditya is building Gray Cup - a company which is around tea, coffee, and softwares. You can explore more below

https://graycup.org

https://graycup.com

https://arjunaditya.xyz

He still writes code, designs interfaces, and somehow keeps moving forward with a cup of tea or coffee in hand [ the ritual that keeps him sane when the burnout starts creeping in ]

Buy coffee or tea:

https://graycup.in

Bulk coffee or tea:

https://b2b.graycup.in

https://bulkgreencoffee.com

https://bulkctc.com

About

Docs for Coldran

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages