Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**
26 changes: 24 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,38 @@ export default defineConfig({
icon: "github",
label: "GitHub",
href: "https://github.com/midnames/docs",
}, {
icon: "twitter",
label: "Twitter",
href: "https://x.com/midnames"
},
{
icon: "linkedin",
label: "LinkedIn",
href: "https://www.linkedin.com/company/midnames/"
}

],
sidebar: [
{
label: "Guides",
autogenerate: { directory: "guides" },
items: [
{label: "Quickstart", slug: "guides/quickstart"},
{label: "Buy Domains", slug: "guides/buy_domain"},
{label: "Transfer .night domains", slug: "guides/transfer_domain"},
{label: "Update domain fields", slug: "guides/update_fields"},
{label: "MNS domain specification", slug: "guides/valid_domains"}
]
},
{
label: "SDK Reference",
autogenerate: { directory: "reference" },
items: [
{label: "Domain Operations", slug: "reference/operations"},
{label: "Domain Resolution", slug: "reference/resolve"},
{label: "TypeScript Types", slug: "reference/types"},
{label: "Utility Functions", slug: "reference/utils"},
{label: "Profile Widget", slug: "reference/widget"}
]
},
],
plugins: [
Expand Down
50 changes: 47 additions & 3 deletions src/content/docs/guides/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,54 @@
---
title: Guides
description: Here are some guides to help you get started with Midnames, the .night domain registry.
description: Step-by-step guides for using Midnames and the .night domain registry
sidebar:
hidden: true
---

Here are some guides to help you get started with Midnames, the .night domain registry.
import { CardGrid, LinkCard } from "@astrojs/starlight/components";

Look through the list on the left to find a guide that suits your needs.
Step-by-step guides to help you get started with Midnames, the .night domain registry, and the Midnames SDK.

## Getting Started

<CardGrid>
<LinkCard
title="Quick Start"
description="Get up and running with the Midnames SDK in 5 minutes. Perfect for developers integrating name resolution."
href="/guides/quickstart/"
/>
<LinkCard
title="Buy a .night domain"
description="Get your own .night domain to represent your identity on the Midnight Network."
href="/guides/buy_domain/"
/>
</CardGrid>

## Managing Your Domain

<CardGrid>
<LinkCard
title="Update domain fields"
description="Learn how to update profile information, social links, and custom metadata in your domain."
href="/guides/update_fields/"
/>
<LinkCard
title="Transfer a .night domain"
description="Safely transfer your .night domain to another user on the Midnight Network."
href="/guides/transfer_domain/"
/>
</CardGrid>

## Specifications

<CardGrid>
<LinkCard
title="MNS Specification"
description="Understand the rules and specifications for valid .night domain names."
href="/guides/valid_domains/"
/>
</CardGrid>

## SDK Documentation

Looking for API documentation? Check out the [SDK Reference](/reference/) section for complete API docs, React components, utility functions, and TypeScript types.
Loading