Common integration how-to
DocuBot transforms your source code into a structured, static help center. By integrating your GitHub repositories, you ensure your documentation stays synchronized with every code change.
Prerequisites
Before you begin, ensure you have the following:
- A DocuBot account (signed in via Google).
- The URL of the GitHub repository you want to document.
- An OpenAPI or Swagger specification file (JSON or YAML) located within your repository if you intend to generate API references.
1. Connect a public repository
The quickest way to start is by linking a public repository. Public repositories do not require additional GitHub authorization.
- Open your DocuBot workspace and click Add repository.
- Enter a Display name. This is the internal name used to identify the project in your dashboard.
- Enter the URL slug. This defines the public web address where your documentation will live (e.g.,
docubot.cc/your-product-name). - Paste the GitHub repository URL into the source field.
- Click Create documentation site.
Expected result: The repository appears in your Tracked projects list, and DocuBot begins the initial scan to identify the codebase structure.
2. Authorize private repository access
To document private codebases, you must grant DocuBot permission to read your GitHub data through a secure OAuth connection.
- Navigate to Settings in the sidebar.
- Locate the GitHub connection section.
- Click Connect GitHub.
- Follow the prompts on the GitHub authorization screen to grant access.
- Once redirected, verify that your GitHub username appears as Connected.
Expected result: You can now add private repositories as sources using the same steps as public repositories.
3. Link an OpenAPI specification
DocuBot automatically detects API specifications to create interactive, high-performance reference pages.
- Ensure your repository contains a valid OpenAPI (3.0+) or Swagger (2.0) file.
- In the repository configuration, ensure the Developer audience is selected.
- Verify that the API reference document type is included in your selection.
- DocuBot will scan the repository, identify the specification, and render it using the built-in Scalar API viewer.
Expected result: An API reference entry appears in your documentation sidebar, providing an interactive environment for developers to explore your endpoints.
4. Configure the automated sync schedule
Keep your documentation aligned with your latest releases by setting a recurring update cadence.
- Go to Repositories and click Edit settings on your project.
- Locate the Update frequency section.
- Select your preferred cadence:
- Daily: Updates every 24 hours at a specific time.
- Weekly: Updates on a specific day of the week.
- Monthly: Updates on a specific day of the month.
- Choose the Update time and confirm your Time zone.
- Click Save changes.
Expected result: DocuBot automatically triggers a documentation rebuild according to your schedule. You can monitor the status of these updates via the Last sync indicator on your project card.
Integration configuration example
When setting up your integration, your configuration typically follows this structure:
| Setting | Example Value |
|---|---|
| Display Name | CloudSync Pro |
| URL Slug | cloudsync-pro |
| Primary Source | https://github.com/your-org/cloudsync-main |
| API Source | https://github.com/your-org/cloudsync-api |
| Sync Frequency | Daily |
| Update Time | 03:00 AM |
Verification and support
Once your integration is configured, visit your public URL slug to view the live documentation. If the site is still generating, you will see a “Syncing” status in your dashboard.
If you encounter issues connecting a repository or if your API specifications are not being detected, please reach out for assistance:
- Email: support@ademero.com
- Support Portal: https://www.ademero.com
- Phone: 863-937-0272