Skip to content

Troubleshooting

Fixes for the most common Git Sync problems.

The site's Git Sync settings show each space's folder, its status and, when something went wrong, the error. A space's own settings show its last synced commit too.

"No pages found"

The folder has no SUMMARY.md and no Markdown files. Check the directory in the settings and the root in .docsheaf.yaml — together they must lead to the Markdown files.

"Another space already syncs this folder"

Each folder of a branch belongs to one space, and folders can't be inside one another — a space at the repository root can't share its branch with other spaces. Give each space a sibling folder, like docs/guides next to docs/api.

A space says it isn't syncing

Its folder — its URL slug inside the site's folder — would share files with another space's folder, for example when another space syncs the repository root. Choose Choose a folder next to it in the site's Git Sync settings and give it a folder of its own.

A push opened a change request instead of publishing

That's expected when the space changed in Docsheaf since the last sync, or when the space requires review. Review and merge the change request; later pushes update it. Exports wait until it's merged (the result, Git's changes included, is exported) or archived (the space's content wins and is exported over Git's changes).

A page lost its custom file name

Pages keep their file while their slug and parent stay the same. Renaming the slug or moving the page in Docsheaf gives it the export's natural path, <parent>/<slug>.md.

An image didn't come through

Images must be referenced with a relative path that exists in the repository, and be at most 25 MB. Images on other hosts are kept as links.

A page's icon disappeared

Only emoji icons are imported. GitBook icon names (like rocket) are dropped — set an emoji instead.

The connection says it failed

The GitHub App was uninstalled, the repository was removed or renamed, the branch was deleted, or (on GitLab) your authorization expired. Disconnect and connect again from the site's Git Sync settings.

Nothing happens after a push

Check that the push was to the synced branch and touched the synced folder. Missed webhooks are caught by a sweep every 15 minutes, or choose Sync now.

Was this helpful?

Last updated

View as Markdown