sambadocsDocs
Sign inGet early access

Getting started

  • Quickstart
  • Connect your GitHub repo

Writing docs

  • Project structure
  • Writing pages
  • Components

Features

  • API reference from OpenAPI
  • AI editor assistant
  • Search & reader chat

Connect your GitHub repo

Install the GitHub App, pick a repository, and publish on every push.

On this page
  • Install the GitHub App
  • Pick a repository
  • How builds trigger
  • Changing access later
  • Next

Sambadocs builds your site straight from a GitHub repository. You connect a repo once through the Sambadocs GitHub App; after that, every push to your default branch republishes the site automatically.

Install the GitHub App

Connecting a repo installs the Sambadocs GitHub App on your account or organization. During install, GitHub asks which repositories to grant access to:

You choose the scope

Pick only the repositories you want Sambadocs to build. You can grant a single repo, and you can change the selection later from your GitHub settings — Sambadocs never gets access to repos you didn't select.

The App needs read access to your repository contents (to read your Markdown, docs.json, and any OpenAPI spec) and to receive push events (so it knows when to rebuild).

Pick a repository

Once the App is installed, Sambadocs lists the repositories it can see. Choose the one that holds your docs and create a project from it. If a repo is already wired up to another project, it shows as taken.

How builds trigger

After a repo is connected, you don't deploy manually. Each push to the default branch fires a webhook, and Sambadocs runs the build pipeline:

  1. Sambadocs fetches the pushed commit.
  2. It reads your docs.json, compiles every page, and validates an OpenAPI spec if you have one.
  3. It publishes the result to your project's URL.

Changing access later

You manage which repositories Sambadocs can reach from your GitHub Settings → Applications → Sambadocs. Add or remove repositories there at any time; removing a repo stops future builds for projects based on it.

Default branch only

Builds publish from your repository's default branch (usually main). Work on other branches won't change the live site until it's merged in.

Next

  • Quickstart — the end-to-end path from connecting a repo to a live site.