Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does Confluence support Docs as code?

Prabha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2023

Hello there,

Anyone have experience with Docs as Code for Confluence? I could see that this concept is not entirely new. It does seem like a smart move to source code your crucial operational documentation and deploy the confluence pages using standard CICD pipelines.

 

2 answers

0 votes
Janek Behrens
March 9, 2026

Good question, the short answer is: not natively, but there are ways to get close.

The classic docs-as-code approach (write in Markdown, commit to Git, publish via CI/CD)
doesn't map perfectly to Confluence's storage format. You'd be fighting the platform.

What works better in practice is flipping the flow: instead of writing docs as code,
you let AI generate Confluence pages from your code automatically.

I built CodeDoc AI for Confluence for exactly this. You connect your GitHub, GitLab,
Bitbucket or Azure DevOps repo, choose what to generate (README, API docs, architecture overview, changelog, etc.) and set a trigger — on every merge, on a schedule, or manually.

The result lands as a structured Confluence page. No manual writing, no CI/CD pipeline
to maintain for docs.

It's not docs-as-code in the traditional sense, but it solves the same underlying problem:
keeping Confluence in sync with what the code actually does.

Marketplace link if anyone wants to try it: https://marketplace.atlassian.com/apps/2654352538 

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 28, 2023

Welcome to the Atlassian Community!

Treating docs as though they are code is never a bad idea. 

But Confluence is a wiki, not a file store, so, the first thing to look at is converting your docs to something more accessible than files in a fixed and non-shared format.  Why not just upload your docs as Confluence pages directly?

Jonatas Fischer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 15, 2025

.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events