Api
Frontmatter Reference for Nuxt Studio
Important: Remove the # Title H1 heading from each file after adding frontmatter. Nuxt Content automatically renders the title from frontmatter as H1, so having both creates duplicates.
Frontmatter Reference for Nuxt Studio
Important: Remove the # Title H1 heading from each file after adding frontmatter. Nuxt Content automatically renders the title from frontmatter as H1, so having both creates duplicates.
Add this YAML frontmatter to each documentation file:
quickstart.md
---
title: Quick Start Guide
description: Make your first API calls
navigation:
title: Quick Start
order: 3
---
general.md
---
title: General API
description: Network information and public data
navigation:
title: General API
order: 10
---
wallet.md
---
title: Wallet API
description: Balance and transaction management
navigation:
title: Wallet API
order: 11
---
pricing.md
---
title: Pricing API
description: Asset price feeds
navigation:
title: Pricing API
order: 12
---
orderbook.md
---
title: Orderbook API
description: Market data and order management
navigation:
title: Orderbook API
order: 20
---
swap.md
---
title: Swap API
description: Direct swaps and automated swaps
navigation:
title: Swap API
order: 21
---
node.md
---
title: Node API
description: Channel and payment management
navigation:
title: Node API
order: 30
---
rental.md
---
title: Rental API
description: Inbound liquidity rental
navigation:
title: Rental API
order: 31
---
errors.md
---
title: Error Codes
description: Complete error reference
navigation:
title: Error Codes
order: 40
---
How to add frontmatter
Add the YAML block at the very top of each markdown file, before the main heading:
---
title: Your Title
description: Your description
navigation:
title: Nav Title
order: 10
---
# Your Main Heading
Content starts here...
The order field controls the sort order in Nuxt Studio navigation.