Search code examples
githubnugetnuget-packageappveyor

Push markdown documentation to NuGet.org


A couple of months ago it was announced that NuGet supports markdown documentation.

I publish packages to NuGet from Appveyor using their deployment feature. Since publishing the package is already automated, I'm looking for a way to also set the markdown documentation automatically.

The repository which I pack already has a README.md. Is there a way to automatically have that md file pushed with the package to NuGet?

I'd like to avoid manually editing the package to add the markdown doc after pushing.


Solution

  • Thanks to this Stack overflow post this feature has been provided by NuGet, read about it here.

    You can include it in the documentation tag: <documentation src="documentation.md" />