Skip to content

Commit 11116b4

Browse files
committed
feat(docs): /go/{mcp,miner,pool,proxy,stream,tenant}/ landings
Convert all six remaining package redirects in public/go/ to Starlight pages. Each carries its own go-import / go-source frontmatter pointing at the correct dappcore/<repo> source — lowercase, matching Snider's naming rule. Repo map (per-page head override): mcp → dappcore/mcp miner → dappcore/go-miner pool → dappcore/go-pool proxy → dappcore/go-proxy stream → dappcore/go-stream tenant → dappcore/go-tenant Sidebar gets a "Packages" group listing all seven (agent + the six new). Sub-pages share the agent template — install / import / status / source. Real content fills in per package as authors land docs in the source repos. Only public/go/core/ remains as the legacy back-compat redirect for consumers still importing dappco.re/go/core/<sub>; new code drops the core/ segment. 14 Starlight pages now (was 8). Co-Authored-By: Virgil <virgil@lethean.io>
1 parent 2eebade commit 11116b4

13 files changed

Lines changed: 228 additions & 61 deletions

File tree

astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ export default defineConfig({
5454
label: 'Packages',
5555
items: [
5656
{ label: 'agent', slug: 'go/agent' },
57+
{ label: 'mcp', slug: 'go/mcp' },
58+
{ label: 'miner', slug: 'go/miner' },
59+
{ label: 'pool', slug: 'go/pool' },
60+
{ label: 'proxy', slug: 'go/proxy' },
61+
{ label: 'stream', slug: 'go/stream' },
62+
{ label: 'tenant', slug: 'go/tenant' },
5763
],
5864
},
5965
],

public/go/mcp/index.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

public/go/miner/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

public/go/pool/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

public/go/proxy/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

public/go/stream/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

public/go/tenant/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/content/docs/go/mcp.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: mcp
3+
description: Model Context Protocol primitives — tool registry, server scaffolding, and client adapters.
4+
head:
5+
- tag: meta
6+
attrs:
7+
name: go-import
8+
content: 'dappco.re/go/mcp git https://github.com/dappcore/mcp.git'
9+
- tag: meta
10+
attrs:
11+
name: go-source
12+
content: 'dappco.re/go/mcp https://github.com/dappcore/mcp https://github.com/dappcore/mcp/tree/main{/dir} https://github.com/dappcore/mcp/blob/main{/dir}/{file}#L{line}'
13+
---
14+
15+
Model Context Protocol primitives — tool registry, server scaffolding, and client adapters.
16+
17+
## Install
18+
19+
```sh
20+
go get dappco.re/go/mcp@latest
21+
```
22+
23+
## Import
24+
25+
```go
26+
import "dappco.re/go/mcp"
27+
```
28+
29+
## Status
30+
31+
Page in flight — content fills in as the package converges. Source of truth
32+
today is the README and inline docstrings in the repo.
33+
34+
## Source
35+
36+
[`github.com/dappcore/mcp`](https://github.com/dappcore/mcp) — full
37+
source, issues, and releases.

src/content/docs/go/miner.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: miner
3+
description: Mining primitives for the dappcore blockchain stack.
4+
head:
5+
- tag: meta
6+
attrs:
7+
name: go-import
8+
content: 'dappco.re/go/miner git https://github.com/dappcore/go-miner.git'
9+
- tag: meta
10+
attrs:
11+
name: go-source
12+
content: 'dappco.re/go/miner https://github.com/dappcore/go-miner https://github.com/dappcore/go-miner/tree/main{/dir} https://github.com/dappcore/go-miner/blob/main{/dir}/{file}#L{line}'
13+
---
14+
15+
Mining primitives for the dappcore blockchain stack.
16+
17+
## Install
18+
19+
```sh
20+
go get dappco.re/go/miner@latest
21+
```
22+
23+
## Import
24+
25+
```go
26+
import "dappco.re/go/miner"
27+
```
28+
29+
## Status
30+
31+
Page in flight — content fills in as the package converges. Source of truth
32+
today is the README and inline docstrings in the repo.
33+
34+
## Source
35+
36+
[`github.com/dappcore/go-miner`](https://github.com/dappcore/go-miner) — full
37+
source, issues, and releases.

src/content/docs/go/pool.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: pool
3+
description: Worker pool primitives — bounded concurrency, lifecycle, backpressure.
4+
head:
5+
- tag: meta
6+
attrs:
7+
name: go-import
8+
content: 'dappco.re/go/pool git https://github.com/dappcore/go-pool.git'
9+
- tag: meta
10+
attrs:
11+
name: go-source
12+
content: 'dappco.re/go/pool https://github.com/dappcore/go-pool https://github.com/dappcore/go-pool/tree/main{/dir} https://github.com/dappcore/go-pool/blob/main{/dir}/{file}#L{line}'
13+
---
14+
15+
Worker pool primitives — bounded concurrency, lifecycle, backpressure.
16+
17+
## Install
18+
19+
```sh
20+
go get dappco.re/go/pool@latest
21+
```
22+
23+
## Import
24+
25+
```go
26+
import "dappco.re/go/pool"
27+
```
28+
29+
## Status
30+
31+
Page in flight — content fills in as the package converges. Source of truth
32+
today is the README and inline docstrings in the repo.
33+
34+
## Source
35+
36+
[`github.com/dappcore/go-pool`](https://github.com/dappcore/go-pool) — full
37+
source, issues, and releases.

0 commit comments

Comments
 (0)