Skip to content

docs(gossipsub): convert README to generated format - #3566

Open
Patrick-Ehimen wants to merge 1 commit into
libp2p:mainfrom
Patrick-Ehimen:docs/gossipsub-generated-readme
Open

docs(gossipsub): convert README to generated format#3566
Patrick-Ehimen wants to merge 1 commit into
libp2p:mainfrom
Patrick-Ehimen:docs/gossipsub-generated-readme

Conversation

@Patrick-Ehimen

Copy link
Copy Markdown

Summary

  • Add a @packageDocumentation block to packages/gossipsub/src/index.ts so the README can be regenerated by npm run docs, matching packages/floodsub
  • Regenerate packages/gossipsub/README.md: drop outdated ES-2017/node-10.x badges, dead "Lead Maintainer" TOC entry, and the archived js-libp2p-interfaces API link
  • Fix license field (Apache-2.0Apache-2.0 OR MIT) and add the missing LICENSE-APACHE, LICENSE-MIT, CODE_OF_CONDUCT.md files, which is what caused the README's MIT © ChainSafe Systems footer

Fixes #3517

Test plan

  • aegir lint passes for packages/gossipsub
  • npm run docs from repo root to confirm generated README matches exactly (requires building sibling workspace packages, not run in this environment)

packages/gossipsub/README.md was still the original hand-written
ChainSafe README and had drifted from the rest of the monorepo:
outdated ES-2017/node-10.x badges, a stale "Lead Maintainer" TOC
entry, an API link to the archived js-libp2p-interfaces repo, and a
"MIT © ChainSafe Systems" footer.

Add a @packageDocumentation block to src/index.ts (matching
packages/floodsub) so the README can be regenerated by `npm run
docs`. Along the way, fix the package's license field, which was set
to plain "Apache-2.0" instead of the monorepo-standard "Apache-2.0 OR
MIT" - this is what caused the README's license section to drift in
the first place - and add the missing LICENSE-APACHE, LICENSE-MIT and
CODE_OF_CONDUCT.md files that every other package in the monorepo
already carries.

Fixes libp2p#3517
@Patrick-Ehimen
Patrick-Ehimen requested a review from a team as a code owner July 13, 2026 13:57
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.

docs: convert @libp2p/gossipsub README to generated format

1 participant