Documents
Does Dosu support GitLab or Bitbucket repositories?
Does Dosu support GitLab or Bitbucket repositories?
Type
Answer
Status
Published
Created
Sep 19, 2025
Updated
Mar 2, 2026
Created by
Dosu Bot
Updated by
Dosu Bot

GitHub is fully supported and self-serve. You can connect GitHub repositories as data sources to index code, issues, pull requests, discussions, and wikis. Public repositories are available on all plans including the free Explore plan. Private GitHub repositories require a paid plan (Pro, Business, or Enterprise). You can configure both inclusion and exclusion patterns to control which files are indexed. When inclusion patterns are specified, only files matching those patterns will be indexed (whitelisting). Exclusion patterns then filter out specific files from that set. When no inclusion patterns are specified, all files are indexed except those matching exclusion patterns. Both use Unix wildcard pattern syntax (e.g., src/**, *.md). You can also create GitHub deployments so that Dosu responds to issues and discussions directly.

GitLab is supported as a data source for code and merge request indexing. This lets Dosu search and reference your GitLab codebase and merge requests when answering questions or generating documentation. Public repositories are available on all plans including the free Explore plan. Private GitLab repositories require a paid plan (Pro, Business, or Enterprise). You can import both Markdown (.md) and reStructuredText (.rst) files from GitLab projects directly into your knowledge store. Both formats are fully supported with format detection, proper rendering, and preservation during imports and updates. For reStructuredText files, Dosu supports Sphinx-compatible directives including admonitions (note, warning, tip, important, caution, danger, error, hint, attention, seealso) and version directives (versionadded, versionchanged, deprecated). GitHub repositories also support both Markdown and reStructuredText file imports with the same file format support. You can configure both inclusion and exclusion patterns to control which files are indexed. When inclusion patterns are specified, only files matching those patterns will be indexed (whitelisting). Exclusion patterns then filter out specific files from that set. When no inclusion patterns are specified, all files are indexed except those matching exclusion patterns. Both use Unix wildcard pattern syntax (e.g., src/**, *.md). You can also create GitLab deployments to enable documentation checks on merge requests, including stale documentation detection and suggesting documentation based on code changes. When you accept documentation updates suggested by Dosu, it will automatically create a merge request in your GitLab repository to sync the changes back. Dosu can also generate weekly release notes automatically from your GitLab commit history. Additionally, you can publish documents directly from Dosu to your GitLab repositories. When you publish a document, Dosu creates a merge request in your selected GitLab project with the document content, and tracks the pending publish operation with status and merge request details. This allows you to manage and synchronize Dosu-generated or updated documents back to your GitLab projects through the Dosu interface. You can also use the Import and Sync feature at app.dosu.dev/documents to import and maintain existing documentation from GitLab repositories. Dosu will create merge requests with proposed changes to keep your documentation up to date. Full support for responding to issues and merge requests is not yet available. GitLab support is currently in beta.

Bitbucket is not yet supported, but is on our roadmap.

If you're interested in GitLab or Bitbucket, schedule a call with the Dosu team.