Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
munhitsu opened this issue Dec 1, 2023 · 0 comments

Comments

@munhitsu
Copy link

munhitsu commented Dec 1, 2023

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

@munhitsu munhitsu changed the title --only-changed is ignored for pages with links to other markdown documents any chance for --only-changed to be compatible with --enable-relative-links ? Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant