Skip to content

any chance for --only-changed to be compatible with --enable-relative-links ? #121

@munhitsu

Description

@munhitsu

We are finding --enable-relative-links very useful, however we can't use it at our scale.

Every time we publish a page that has internal links, md2cf will 1st upload a new version with f"md2cf-internal-link-{uuid.uuid4()}" strings as links and then in the following step it will update the links to real confluence links (function update_pages_with_relative_links)

This results in 2 page versions on every push of the folder irrespectively if --only-changed is used

Background

As we are synchronising to confluence about 200 ADRs and RFCs we get hit by Confluence API 500 error on nearly every push so I'm looking for every way to reduce the document changes.

md2cf version 2.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions