Base Docs are community-managed. We welcome and encourage contributions from everyone to keep these docs accurate, helpful, and up to date.
Note: This repository powers the public Base documentation site. Content lives under
docs/
.
Prerequisite: Node.js v19+.
- Clonde the repository.
- Install the Mint CLI to preview documentation changes locally:
npm i -g mint
- Preview locally (run from the
docs/
directory wheredocs.json
lives):
cd docs
mint dev
Alternatively, without a global install:
npx mint dev
- Ensure Node.js v19+ and that you run
mint dev
from the directory containingdocs.json
(usuallydocs/
). - Local preview differs from production: run
mint update
to update the CLI.
- Fork and branch: Fork
base/docs
and create a descriptive branch for your change. - Edit content in
docs/
: Follow the structure and style guidelines below. Preview locally with the Mint CLI. - Open a pull request: Provide a clear summary and links to related pages. The docs team and community will review.
Tip: Prefer small, focused PRs. Link related guides and references directly in your content.
Warning: Do not create new top-level sections. Place all new content within existing folders under
docs/
.
The Base documentation is organized into established sections (for example: get-started/
, learn/
, base-account/
, base-app/
, base-chain/
, cookbook/
, mini-apps/
, onchainkit/
). Fit new content into the most relevant existing section.
Note: We generally do not change the global navigation (top-level tabs) or sidebar sections unless there is a clear, broadly beneficial need. Contributions should focus on improving existing pages and adding new pages within current sections.
- Quickstart: End-to-end setup to first success. Keep concise and current.
- Concepts: Explanations of components, architecture, and design philosophy.
- Guides: Step-by-step, action-oriented tutorials for specific tasks.
- Examples: Complete, runnable examples demonstrating real-world usage.
- Technical Reference: API/method/component specs with parameters and return types.
- Contribute: Information for contributors and process updates.
- The
cookbook/
section hosts use case–focused guides and patterns, not product-specific documentation. - Prefer cross-cutting solutions that illustrate how to build on Base across tools and scenarios.
Warning: Avoid subsection proliferation:
- Put all guides at the same level within the Guides section.
- Organize Reference by component/feature, not per use case.
- Use cross-links instead of adding new structural layers.
- Be concise and consistent; use active voice and second person.
- Focus on the happy path; mention alternatives briefly where relevant.
- Use explicit, descriptive headings and filenames.
- Maintain consistent terminology; introduce abbreviations on first use.
- Use clear, explicit language and link related pages directly.
- Prefer bulleted lists for options/steps when not sequential.
- Name and reference libraries and tools explicitly.
- Use semantic, readable URLs and avoid ambiguous abbreviations.
Checklist:
- Would a Large Language Model understand and follow this content?
- Can an engineer copy, paste, and run the examples as-is?
- Start main sections with H2 (
##
) and subsections with H3 (###
). - Use fenced code blocks with language and optional filename.
- Wrap images in
<Frame>
and includealt
text. - Use callouts for emphasis:
<Note>
,<Tip>
,<Warning>
,<Info>
,<Check>
. - For procedures, prefer
<Steps>
/<Step>
. - For alternatives, use
<Tabs>
/<Tab>
. - For API docs, use
<ParamField>
,<ResponseField>
, and request/response examples.
- Provide complete, runnable examples with realistic data.
- Include proper error handling and edge cases.
- Specify language and filename when helpful.
- Show expected output or verification steps.
Warning: We generally do not accept guides that primarily document a third-party product. Exceptions require a clear Base-focused use case and a tight integration with Base products. Simply deploying on Base or connecting to Base Account/Base App is not sufficient.
If your goal is to increase discoverability of your product, please request inclusion on the Base Ecosystem page instead. See the instructions for updating the Base Ecosystem page.
- Fits within existing structure (no new top-level sections)
- Minimal, necessary subsections only
- Consistent terminology; abbreviations introduced on first use
- Code examples are complete, runnable, and validated
- Cross-links to related guides/examples/references are included
- Uses Mintlify components and heading hierarchy correctly
- Accessible images with descriptive
alt
text and frames - AI-friendly: explicit, link-rich, and easy to follow
- Create a PR to
https://github.com/base/docs
with your changes. - Include a clear description of the change and impacted pages.
- Request review from the docs team.
- Address feedback and iterate.
- Once approved, changes will be merged and published.
The core team will review opened PRs. The SLA is 2 weeks, generally on a first come first serve basis outside of urgent changes.
See storybook/README.md
for details on local Storybook and component docs.