This commit is contained in:
gzuuus
2025-07-17 23:53:29 +02:00
parent daaaa4607b
commit c081efa3a0
27 changed files with 3197 additions and 33 deletions

View File

@@ -4,16 +4,66 @@ import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://contextvm.github.io',
base: '/',
integrations: [
starlight({
title: 'My Docs',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
title: 'ContextVM Documentation',
description: 'Documentation for the ContextVM SDK - a virtual machine for context-controlled computation',
logo: {
light: './src/assets/contextvm-logo.svg',
dark: './src/assets/contextvm-logo.svg',
replacesTitle: false,
},
social: [
{ icon: 'github', label: 'ContextVM', href: 'https://github.com/contextvm/sdk' },
{ icon: 'twitter', label: 'Twitter', href: 'https://twitter.com/contextvm' },
],
editLink: {
baseUrl: 'https://github.com/contextvm/sdk/edit/main/docs/',
},
sidebar: [
{
label: 'Guides',
label: 'Getting Started',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
{ label: 'Quick Overview', slug: 'guides/getting-started/quick-overview' },
],
},
{
label: 'Specification',
items: [
{ label: 'Specification', slug: 'guides/ctxvm-draft-spec' },
],
},
{
label: 'Core Concepts',
items: [
{ label: 'Constants', slug: 'guides/core/constants' },
{ label: 'Interfaces', slug: 'guides/core/interfaces' },
{ label: 'Encryption', slug: 'guides/core/encryption' },
],
},
{
label: 'Components',
items: [
{ label: 'Gateway', slug: 'guides/gateway/overview' },
{ label: 'Relay', slug: 'guides/relay/simple-relay-pool' },
{ label: 'Signer', slug: 'guides/signer/private-key-signer' },
{ label: 'Proxy', slug: 'guides/proxy/overview' },
],
},
{
label: 'Tutorials',
items: [
{ label: 'Client-Server Communication', slug: 'guides/tutorials/client-server-communication' },
],
},
{
label: 'Transports',
items: [
{ label: 'Base Nostr Transport', slug: 'guides/transports/base-nostr-transport' },
{ label: 'Nostr Client', slug: 'guides/transports/nostr-client-transport' },
{ label: 'Nostr Server', slug: 'guides/transports/nostr-server-transport' },
],
},
{