GitHub Integration Overview
Connect ArchDoc to GitHub for document syncing
GitHub Integration Overview
Connect your ArchDoc organization to GitHub to sync documents to your repositories.
What is GitHub Integration?
The GitHub integration allows you to:
- Sync documents to a GitHub repository
- Store documentation as Markdown in version control
- Track changes alongside your code
- Collaborate using GitHub's ecosystem
Benefits
Version Control for Docs
- Documents stored as Markdown files
- Full Git history for changes
- Branch and merge workflows
Co-located with Code
- Keep documentation with related code
- Single source of truth
- Developers find docs easily
Familiar Workflow
- Use GitHub's review features
- Link to PRs and commits
- Leverage existing tooling
Plan Requirements
| Plan | GitHub Integration |
|---|---|
| Free | ❌ Not available |
| Base | ✅ Included |
| Premium | ✅ Included |
GitHub integration requires a Base or Premium plan. Upgrade your subscription to enable this feature.
How It Works
graph LR
A[ArchDoc Document] --> B[Sync to GitHub]
B --> C[Repository]
C --> D[Markdown File]Connection Flow
- Install App: Admin installs the ArchDoc GitHub App on their GitHub account or organization
- Select Repository: Choose which repo to sync to
- Sync Documents: Push documents to the repository
What Gets Synced
| Content | Synced |
|---|---|
| Document content | ✅ Markdown |
| Title | ✅ As filename |
| Type & Category | ✅ In frontmatter |
| Author | ✅ In commit |
| Sign-offs | ❌ ArchDoc only |
| Comments | ❌ ArchDoc only |
Getting Started
Connecting GitHub
Set up the OAuth connection.
Selecting Repository
Choose where to sync documents.
Syncing Documents
Push documents to GitHub.
Who Can Use GitHub Integration
| Action | Admin | Member |
|---|---|---|
| Connect GitHub | ✅ | ❌ |
| Select repository | ✅ | ❌ |
| Sync documents | ✅ | ✅* |
*Members can sync documents if integration is set up by an Admin.
Security
OAuth Permissions
- We request minimal GitHub permissions
- Access only to selected repositories
- You can revoke access anytime
Token Storage
- Access tokens are encrypted
- Stored securely in our database
- Never exposed to users
Repository Access
- Choose public or private repos
- We only access the selected repo
- No access to other repos or data
Prerequisites
Before setting up:
- ✅ Base or Premium plan
- ✅ Admin role in ArchDoc
- ✅ GitHub account
- ✅ Access to the target repository
Integration Status
View your integration status:
- Go to Dashboard > Integrations
- See the GitHub section
- Shows connected account and repository
Status Indicators
| Status | Meaning |
|---|---|
| 🟢 Connected | Ready to sync |
| 🟡 No Repo Selected | Need to select repository |
| ⚪ Not Connected | Need to connect GitHub |