You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/package/content
KN4CK3R 8498e67309
Some NuGet package enhancements (#30280)
Fixes #30265

1. Read second type of dependencies
2. Render `Description` and `ReleaseNotes`

old:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/abac057c-11cd-4d25-b196-01ff899d948e)

new:

![grafik](https://github.com/go-gitea/gitea/assets/1666336/35302273-740c-481a-a031-1f80d2d7d336)

The NuGet spec does not specify what kind of text can be stored in the
description but we can best guess markdown. The official NuGet registry
just [converts the newlines to html
lines](https://www.nuget.org/packages/rb.Firefox#readme-body-tab).

3. Extract and render the readme. This is the new and better place to
store larger text than in the description. The content is markdown.

![grafik](https://github.com/go-gitea/gitea/assets/1666336/f442264e-3735-4b55-92c4-3b89a8ebafb0)

---------

Co-authored-by: Benjamin Heemann <benjamin.heemann@raith.de>
10 months ago
..
alpine.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
cargo.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
chef.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
composer.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
composer_dependencies.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
conan.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
conda.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
container.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 12 months ago
cran.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
debian.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
generic.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
go.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
helm.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
maven.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
npm.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
npm_dependencies.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
nuget.tmpl Some NuGet package enhancements (#30280) 10 months ago
pub.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
pypi.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
rpm.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
rubygems.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
rubygems_dependencies.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
swift.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
vagrant.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago