Skip to main content

Annalise AI - Confluence Junction

This project is expanded from (https://github.com/HUU/Junction)

TO DO

  • move away from using a docker image and use a pushlished python package
  • unit tests for everything

Running Locally

To run this locally run docker compose up with the documents and images directory as env vairables

DOCS=<path to docs> IMAGE=<path to images> docker-compose up

Overview

Junction works by inspecting the changes made on a commit-by-commit basis to your Git repository, and determining what needs to be changed in Confluence to reflect those changes. Junction (currently) expects to manage the entire space in Confluence. Thus when using Junction you must tell it which Space to target and update. You must not manually change, create, or modify pages in the target space, or else Junction may be unable to synchronize the state in Git with the state in Confluence.

To allow mixing code (and other items) with markdown files for Junction in a single repository, you can tell Junction a subpath within your repository that functions as the root e.g. all markdown files will be kept in docs/. All files should end with the .md extension.

The page will gets its title from the file name, and its contents will be translated into Confluence markup. See this example for what output looks like in Confluence.

Usage

Collect a set of credentials that Junction will use to login to Confluence. You will need to create an API token to use instead of a password. I recommend you make a dedicated user account with access permissions limited to the space(s) you want to manage with Junction.

In your git repository, create a folder structure and markdown files you would like to publish. Commit those changes.

.
├── (your code and other files)
└── docs/
    ├── Welcome.md
    ├── Installation.md
    └── Advanced Usage
    |   ├── Airflow.md
    |   ├── Visual Studio Online.md
    |   ├── Atlassian Bamboo.md
    |   └── GitHub Actions.md
    └── Credits.md

Images

Images should be placed inside the images directory within a subdirectory that has the same name as the respective file. for the above example the image directory could look like this.

.
└── images/
    ├── Welcome/
        ├── image1.png
        └── image2.png
    ├──  Installation/
        └── image1.png
    └── Advanced Usage/
        ├── image1.png
        ├── image2.png
        ├── Airflow/
            └── image1.png

Mermaid Diagrams

Mermaid diagrams can be included in the markdown but must include the document name in the opening fence:

```mermaid filename=<document name>

see here for using mermaid.js in github

Metadata

Release files for annalise-confluence-junction 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for annalise-confluence-junction 2.0.0
File Size Uploaded
annalise_confluence_junction-2.0.0.tar.gz 46.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for annalise-confluence-junction 2.0.0
File Interpreter ABI Platform
annalise_confluence_junction-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 87.1 kB

Release files / annalise_confluence_junction-2.0.0.tar.gz

Download URL annalise_confluence_junction-2.0.0.tar.gz
Size 46.3 kB
Tags Source
SHA-256 checksum
How to use checksums
577c15f94cfb6cef6fbb084d287667d80ca9c215cb72c4733c56374a2a6036cb
BLAKE2b-256 checksum
How to use checksums
69b85a1f64d8562e70fceee5ecd531d9549dc041e8ea93cf6a8165f520b0fb38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.8.15 Linux/5.15.0-1024-azure

Release files / annalise_confluence_junction-2.0.0-py3-none-any.whl

Download URL annalise_confluence_junction-2.0.0-py3-none-any.whl
Size 40.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c449e9e96e098ab300a30d92e88d6aea7c3c35c4a84d2aab4e0f22598c83763
BLAKE2b-256 checksum
How to use checksums
44f9652fc247aacb5b0f621cb3f54b5e3d1497e3a2dcfceff067a8e4b3f9f720
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.8.15 Linux/5.15.0-1024-azure

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page