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

upload via md2cf #5

Open
aogier opened this issue Jan 25, 2022 · 5 comments
Open

upload via md2cf #5

aogier opened this issue Jan 25, 2022 · 5 comments

Comments

@aogier
Copy link

aogier commented Jan 25, 2022

Hello, what about using md2cf APIs also for uploading to confluence? It's an alive project, it would eliminate lot of duplicated efforts and expose some neat feature like the on_changed machinery which only upload changed stuff.

I think that would be a great addition to your super cool plugin! If you think we could discuss that I could definitely work on that, so what do you think?

Thank you, regards

@jannismain
Copy link

I would also be interested in this. I'd also be willing to collaborate / contribute on this.

@pawelsikora
Copy link
Owner

pawelsikora commented Mar 23, 2022

Hi, I have nothing against it.

Probably didn't see it while implementing and focused mainly of converting markdown to confluence
storage format via md2cf instead of using it for uploads. Initially I started from working python script
and moved my REST api code into the plugin code.

But sure, why not - no reason to reimplement the wheel, specially when it will provide additional benefits.

Do you have any example of change so we can try that and discuss?

@aogier
Copy link
Author

aogier commented Mar 25, 2022

I'm not sure what exactly an example of change could be, what I see is a refactor where upload work is delegated to md2cf which is a superior solution. Unfortunately I will switch job soon and fortunately for me I'll stop being miserable w/ confluence so I'll not have a setup to test against, thus no contributions on that. But thanks for the attention! :)

@jannismain
Copy link

I'm currently evaluating whether using something like md2cf directly would serve my needs better than trying to make mkdocs publish to confluence for me. So far, I'd like the additional markdown syntax from mkdocs + plugins to be (at least partially) supported by my confluence publishing pipeline. I also need full control over which files are being published and which not (e.g. only publish a single page to confluence).

@pawelsikora Is this something you'd like mkdocs-with-confluence to be able to do? Or would you rather focus on the more regular use case, which is publishing complete docs to confluence?

@pawelsikora
Copy link
Owner

@jannismain actually, I would rather happy so see it working in a more generic way. Having more control over the files to be published seems like good way to go. Interesting in implementation, as I would not assume going into some list of files only.

Definitely would like to discuss it more and I will find some time for this. If you would like, just drop me a mail on this.

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

3 participants