I'd like to import my .Net XML Documentation Comments (the documentation based on the code tags, automatically generated by the compiler with the /doc switch) into Atlassian Confluence.

I've used Doxygen to generate some HTML which looks great, but I'd love to have something I can dump straight into Confluence.

Any ideas?

有帮助吗?

解决方案

The straighforward and easy to maintain option would be to call the Confluence API to upload content; it is well documented so it should be the same as calling any REST API from .Net, once you have the content as you indicate.

https://docs.atlassian.com/confluence/REST/latest/#content-createContent

EDIT: while there are many questions in SO addressing how to call an API from .Net, just to have the full reference:

https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top