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
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
..
admin Refactor startup deprecation messages (#30305) 10 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Fix code block style for code preview (#30298) 10 months ago
custom Add footer extra links template (#9576) 5 years ago
devtest Remove fomantic input module (#30194) 10 months ago
explore Migrate margin and padding helpers to tailwind (#30043) 10 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 11 months ago
org Fix: Organization Interface Display Issue (#30133) 10 months ago
package Some NuGet package enhancements (#30280) 10 months ago
projects Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 10 months ago
repo Remove fomantic list module (#30281) 10 months ago
shared Refactor file view & render (#30227) 10 months ago
status Migrate margin and padding helpers to tailwind (#30043) 10 months ago
swagger Add API for `Variables` (#29520) 10 months ago
user Add `--page-spacing` variable, fix admin dashboard notice (#30302) 10 months ago
webhook Fix incorrect tailwind migration (#30007) 10 months ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
install.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago