Hi all,
We are trying to power a confluence space with markdown files in a github repository. It requires that.
1. The entire confluence space is powered by code in github.
2. Any change to the selected branch in that repo results in updating confluence page.
We try Git for Confluence, but it's mostly for embedding a file/folder into a confluence page. We found a few open source github project but all aren't maintained. We wonder if anyone has found a good way to achieve this.
Thank you,
Zekai
Wanted to know if a solution was ever found to edit content in Confluence and it being available in Git. I have a similar situation in that:
- I'm not a developer so it would be much easier for me to edit content and if it lived Confluence
- I would really love to be able to use the Release features from Jira to publish release notes pages in Confluence and those be available in Git; in our situation the Git content is publicly available.
This setup would allow BA/ PM to manage releases end to end rather than having to put Git into the process for BA/ PM, requiring a developer involved in the release notes, exporting/ importing content, etc, etc.
this!
I'll describe the exact usage scenario for me (except with perforce terms instead of git because that's what my industry uses):
- You're doing large scale software development with a massive codebase
- You want to write some documentation for a module of it.
- You really really want there to be a version of that documentation checked into version control in the source files directory because it solves discoverability for other programmers- they'll see it in their IDE.
- You want a common version control timeline/tree for the documentation and the code it documents, because obviously.
- You want confluence. You want to have a company-wide browseable knowledge-base, because otherwise why are you here?
-When you check in changes to the doc you want the confluence web page updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian Community!
As mentioned in the original answer, there are some problems with this idea.
I think it might help to re-read my last comment (7/11/2023) for what you would need to be thinking about, and then I have expanded on what I said there to explain why I said it.
There's two things to think about:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to find or write an app to do that, and you'll need to think very carefully about how can keep the two in full sync.
Conflluence already has versioning built-in, there's no need to try to wedge it into another source control system.
In the other direction, yes, yout git can create pages and update them, over the REST API, Git for Confluence, and there are a couple of other apps in the marketplace that look like they could do it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a lot simpler to create documentation as markdown and keep it in source control with a local copy than it is to fumble with creating a confluence page and deal with formatting. Personally I think it would be great if there was an option for Confluence to read from a repo and display the markdown from it. How hard could it be? Jekyll already does this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But why? Why are you trying to version things in two different places?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not. I use the repo for our depts on call docs and to create informal documentation that may change often. I would prefer if Atlassian could process that documentation like Jekyll though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But you are - Confluence and git would be independently putting versions on the data.
You could automate something that would enable them to stay in sync, but you'll need to decide between:
Whatever you decide, you'll need to write some code. One or both of something that:
I'd recommend checking out what the marketplace apps can do, rather than trying to write a sync of some sort, but a better idea might be to look at why you think you want to do this, because you probably don't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.