Opened 5 years ago

Last modified 6 months ago

#15164 new bug

[cgit] About page of haiku repository not rendered correctly

Reported by: idefix Owned by: haiku-web
Priority: normal Milestone:
Component: Website Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

See https://git.haiku-os.org/haiku/about/.

It looks like it shows the raw document instead of the rendered version.

Change History (3)

comment:1 by pulkomandy, 4 years ago

Apparently we need to enable an "about-filter" in cgit to allow it to render markdown: https://floatingoctothorpe.uk/2018/markdown-readme-files-in-cgit.html

comment:2 by korli, 6 months ago

https://git.haiku-os.org/haiku/about/ doesn't look like a raw document now.

comment:3 by pulkomandy, 6 months ago

It is empty now, which isn'4t exactly better?

It¡s supposed to render the README of the repository. It detected one (since the "about" tab is visible) but did not render it?

The markdown formatting of the about page is possible with scripts provided by cgit: https://git.zx2c4.com/cgit/tree/filters/about-formatting.sh https://git.zx2c4.com/cgit/tree/filters/html-converters/md2html

But it looks like we don't use this, and provide our own script: https://github.com/haiku/infrastructure/blob/master/containers/cgit/assets/markdown-render.py

Should we switch to the one provided by cgit?

Note: See TracTickets for help on using tickets.