Skip to content

docs: improve reference section index and restructure Go API page#2267

Merged
lidel merged 3 commits intomainfrom
improve-reference-section
Mar 19, 2026
Merged

docs: improve reference section index and restructure Go API page#2267
lidel merged 3 commits intomainfrom
improve-reference-section

Conversation

@lidel
Copy link
Member

@lidel lidel commented Mar 19, 2026

Why (Problem)

The reference section index ("API & CLI reference") was organized around implementation internals (CLI, RPC, Go embedded client) rather than what readers are actually looking for: how to use IPFS from a specific language or tool.

The Go API page listed 30+ packages in a flat table without guidance on where to start, making it hard for newcomers to find the right entry point.

LLMs reading this would produce poor quality results.

What changed

Reference index (reference/README.md):

  • Reorganized around reader intent: diagnostic tools, HTTP Gateway, IPFS in JavaScript, IPFS in Go, and Kubo each get their own section
  • Surfaces the gateway spec alongside the gateway docs page, so readers find both in one place
  • Links diagnostic tools, which were previously buried

Go API page (reference/go/api.md):

  • Renamed from "Advanced Kubo Usage" to "IPFS in Go" to reflect its actual scope
  • Leads with Boxo SDK as the primary way to build IPFS applications in Go, with key packages grouped by purpose (content retrieval, data/storage, naming, network setup)
  • Adds a clear Kubo RPC Client section for users who want to talk to an existing Kubo node
  • Steers CoreAPI users toward Boxo instead
  • Trims the package table to actively maintained projects, removes stale coverage badges, adds go-ds-pebble

JS page (reference/js/api.md):

  • Adds deprecation notice for js-ipfs pointing readers to Helia

- reference/README.md: rename from "API & CLI reference" to "Reference",
  add diagnostic tools, IPFS in JS, IPFS in Go, and Kubo sections,
  surface Boxo SDK and Kubo RPC client as the two main Go paths
- reference/go/api.md: rename from "Advanced Kubo Usage" to "IPFS in Go",
  add Boxo SDK section with key sub-packages (gateway, bitswap, routing,
  blockstore, unixfs, ipns, namesys, etc), add Kubo RPC Client section,
  redirect CoreAPI users to Boxo, remove deprecated and stale packages,
  add go-ds-pebble, drop coverage badge column
@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

🚀 Build Preview on IPFS ready

lidel added 2 commits March 19, 2026 20:36
- reference/README.md: surface gateway spec link in HTTP Gateway section
- reference/js/api.md: add warning that js-ipfs is discontinued in favor
  of Helia, fix double-space typo
- go/api.md: add https: scheme to protocol-relative GitHub links
- pln-ignore.txt: add bootstrappers, datastores to spelling allowlist
@lidel lidel requested review from 2color and mishmosh and removed request for mishmosh March 19, 2026 19:42
@lidel lidel marked this pull request as ready for review March 19, 2026 19:43
@lidel lidel merged commit 06780d8 into main Mar 19, 2026
6 checks passed
@lidel lidel deleted the improve-reference-section branch March 19, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants