Bloques
DashboardGitHub
DashboardGitHub

Get started

QuickstartIntroduction

Writing content

MDX basicsMarkdown reference

Configuration

docs.json overviewNavigationThemeNavbarInternationalizationSchema reference

API reference

API reference overviewSet up an API reference

Publishing

Connect GitHubDeploymentsCustom domainLLM endpointsMCP server

Team

OrganizationsMembers and roles

Connect GitHub

Install the Bloques GitHub App and choose the repository and branch to publish from.

Prerequisites

  • A Bloques site. See the Quickstart to create one.
  • A GitHub account with permission to install Apps on the target personal account or organization.

Install the Bloques GitHub App

The App needs read and write access on the repositories it publishes — read to fetch content on deploy, write to commit edits from the browser editor.

Open the site settings

In your site dashboard, open Settings and select Repository.

Start the install

Select Connect Github. Bloques redirects you to GitHub to install the App.

Choose the account

Pick the personal account or organization that owns the repository you want to publish.

Grant repository access

Select Only select repositories and pick the repository that holds your docs. Confirm to finish the install. GitHub redirects you back to Bloques.

Granting access to a single repository on first install keeps the scope tight. Add more repositories later from the App's GitHub settings page.

Choose the repository

Repository settings with GitHub organization and repository dropdowns

After the install callback, the repository selectors on the Repository settings page populate from the repositories the App can access.

Pick the owner

Open the Github organization dropdown and select the account that owns the repository.

Pick the repository

Open the Repository dropdown and select the repository.

Save

Select Save changes.

Pick the publishing branch

Bloques publishes from a single branch per site. Every push to that branch triggers a deploy. Other branches don't deploy today — branch previews are upcoming.

Select the branch

Open the Branch dropdown and select the branch to publish from. The repository's default branch (typically main) is the standard choice. Select Save changes.

What Bloques reads from your repo

Bloques reads docs.json for site configuration and renders every .md and .mdx file as a page. See the docs.json overview for the full schema.

Troubleshooting

App not visible after install

The install callback writes the installation to the organization that was active when you started the flow. If the dashboard still shows Connect Github after the redirect, switch to the organization you installed against, then reopen Settings → Repository.

No repositories listed

The dropdowns only show repositories the App can access. Open the App's settings on GitHub, select the installation, and add the missing repository under Repository access.

Permission errors after a repo transfer

Transferring a repository between accounts revokes the previous installation's access. Install the App on the new owner and grant access to the transferred repository, then update the owner and repository in Settings → Repository.

Next steps

Deployments

How each push becomes a live deploy.

Go to content

Custom domain

Point your own domain at the site.

Go to content

On this page

Prerequisites
Install the Bloques GitHub App
Choose the repository
Pick the publishing branch
What Bloques reads from your repo
Troubleshooting
App not visible after install
No repositories listed
Permission errors after a repo transfer
Next steps