mirror of
https://github.com/aljazceru/contextvm-docs.git
synced 2025-12-19 06:54:21 +01:00
fix: some typos and format
This commit is contained in:
140
astro.config.mjs
140
astro.config.mjs
@@ -1,68 +1,82 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import starlight from '@astrojs/starlight';
|
||||
import { defineConfig } from "astro/config";
|
||||
import starlight from "@astrojs/starlight";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: 'https://contextvm.github.io',
|
||||
base: 'contextvm-docs',
|
||||
integrations: [
|
||||
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/ts-sdk' },
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
label: 'Getting Started',
|
||||
items: [
|
||||
{ label: 'Quick Overview', slug: 'getting-started/quick-overview' },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Specification',
|
||||
items: [
|
||||
{ label: 'Specification', slug: 'ctxvm-draft-spec' },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Core Concepts',
|
||||
items: [
|
||||
{ label: 'Constants', slug: 'core/constants' },
|
||||
{ label: 'Interfaces', slug: 'core/interfaces' },
|
||||
{ label: 'Encryption', slug: 'core/encryption' },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Components',
|
||||
items: [
|
||||
{ label: 'Gateway', slug: 'gateway/overview' },
|
||||
{ label: 'Relay', slug: 'relay/simple-relay-pool' },
|
||||
{ label: 'Signer', slug: 'signer/private-key-signer' },
|
||||
{ label: 'Proxy', slug: 'proxy/overview' },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Tutorials',
|
||||
items: [
|
||||
{ label: 'Client-Server Communication', slug: 'tutorials/client-server-communication' },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Transports',
|
||||
items: [
|
||||
{ label: 'Base Nostr Transport', slug: 'transports/base-nostr-transport' },
|
||||
{ label: 'Nostr Client', slug: 'transports/nostr-client-transport' },
|
||||
{ label: 'Nostr Server', slug: 'transports/nostr-server-transport' },
|
||||
],
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
site: "https://contextvm.github.io",
|
||||
base: "contextvm-docs",
|
||||
integrations: [
|
||||
starlight({
|
||||
title: "ContextVM Documentation",
|
||||
description: "Documentation for ContextVM",
|
||||
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/ts-sdk",
|
||||
},
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
label: "Getting Started",
|
||||
items: [
|
||||
{ label: "Quick Overview", slug: "getting-started/quick-overview" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Specification",
|
||||
items: [{ label: "Specification", slug: "ctxvm-draft-spec" }],
|
||||
},
|
||||
{
|
||||
label: "Core Concepts",
|
||||
items: [
|
||||
{ label: "Constants", slug: "core/constants" },
|
||||
{ label: "Interfaces", slug: "core/interfaces" },
|
||||
{ label: "Encryption", slug: "core/encryption" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Transports",
|
||||
items: [
|
||||
{
|
||||
label: "Base Nostr Transport",
|
||||
slug: "transports/base-nostr-transport",
|
||||
},
|
||||
{
|
||||
label: "Nostr Client",
|
||||
slug: "transports/nostr-client-transport",
|
||||
},
|
||||
{
|
||||
label: "Nostr Server",
|
||||
slug: "transports/nostr-server-transport",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Components",
|
||||
items: [
|
||||
{ label: "Gateway", slug: "gateway/overview" },
|
||||
{ label: "Relay", slug: "relay/simple-relay-pool" },
|
||||
{ label: "Signer", slug: "signer/private-key-signer" },
|
||||
{ label: "Proxy", slug: "proxy/overview" },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "Tutorials",
|
||||
items: [
|
||||
{
|
||||
label: "Client-Server Communication",
|
||||
slug: "tutorials/client-server-communication",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user