RepoPages

RepoPages for Confluence

Docs as code for Confluence. Markdown and diagrams from Git published as real Confluence pages, pushed by your CI on every commit, searchable, with history.

Git repo Your CI Confluence

Built on Atlassian Forge with no outbound connections, so your documents never leave Atlassian.

Get it now Set up in five minutes See the demo repo
A Mermaid diagram rendered on a Confluence page written by RepoPages, with its source collapsed below

Documentation that lives with the code, readable by everyone

Developers keep writing Markdown next to the code. Everyone else reads it in Confluence, where they already are.

Real pages, written on every commit

Your CI sends the files a commit changed. RepoPages creates or updates one Confluence page per Markdown file within seconds.

Pages are searchable, versioned, exportable to PDF and Word, and readable on mobile, like any page a person wrote. Each one carries a byline with the commit that wrote it.

A synced page with the byline Synced from fastapi/fastapi, view commit

Diagrams and structure survive the trip

Mermaid and PlantUML render to crisp SVG with searchable source, and the images your docs use are uploaded with each page. Folders become parent pages, relative links become page links, front matter and the first heading set the title.

A rendered Mermaid sequence diagram on a Confluence page, with its source collapsed below

No Git credentials, nothing leaves Atlassian

RepoPages never connects to your Git host. The push is signed with a secret you create in Confluence, so the app holds no token and makes no outbound calls. Eligible for Runs on Atlassian.

Private, self-hosted and VPN-only repositories work the same way, because nothing ever has to reach them: your CI already has the files. GitHub, GitLab, Bitbucket, Jenkins or any CI that can run a script or a container.

The RepoPages settings screen in Confluence with a mapped repository

How it works

Three steps, no agent, no polling.

1Map a folder to a space

After installing, click Get started, or open Confluence settings → RepoPages. Add the repository, folder, target space and optional parent page. You get a sync URL and a signing secret.

2Add one step to your pipeline

The GitHub Action, the Docker image, or a single Python file. Store the URL and the secret in your CI's secret store.

3Push

Changed files are rendered, signed and sent. RepoPages writes the pages. Renames move pages, deletions archive them, unchanged files create no new version.

Setup on GitHub

One workflow file. GitLab CI, Jenkins and any other CI use the Docker image or the script.

# .github/workflows/repopages.yml
name: RepoPages
on:
  push:
    branches: [main]
    paths: ['**/*.md', '**/*.markdown', '**/*.png', '**/*.jpg', '**/*.jpeg', '**/*.gif', '**/*.webp', '**/*.svg']
  workflow_dispatch:
    inputs:
      full_import:
        description: 'Send every Markdown file (unchanged pages are skipped)'
        type: boolean
        default: false
jobs:
  sync:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 2
      - uses: repopages-app/ci@v1
        with:
          url: ${{ secrets.REPOPAGES_URL }}
          secret: ${{ secrets.REPOPAGES_SECRET }}
          prefix: docs/
          mode: ${{ inputs.full_import && 'import' || 'push' }}

Run it once by hand (Actions, RepoPages, Run workflow) with full_import ticked to create pages for everything that already exists. From then on every merge sends only what changed. Full documentation in the client repository.

Built for security review

No egressThe app calls nothing outside Atlassian. Your CI calls Atlassian. Eligible for Runs on Atlassian.
Private repos, no OAuthNo GitHub app, no OAuth grant, no access to your Git host. The repository can be private, self-hosted or behind a VPN. Only your CI reads it.
No Git token in ConfluenceEach repository has its own signing secret, kept in Atlassian's secret storage, rotatable from the settings screen.
Nothing to review but the pagesRepoPages writes pages into your site and keeps no copy. What a security review sees is Confluence, which it already approved. See the privacy policy.