Skip to content

Readme tab fails to fetch/render .rst, .adoc, and .mediawiki formats #852

Description

@bcExpt1123

Description

The Repositories → Readme tab currently does not support rendering several common README formats, including .rst (reStructuredText), .adoc (AsciiDoc), and .mediawiki. Additionally, the API request for fetching the README file has the file extension hardcoded, causing requests for these formats to fail and return a “Not Found” response. Please review below screenshots.

Steps to Reproduce

  1. Open the following repository pages:
  1. Navigate to the Readme tab
  2. Observe how the README content is displayed
Image Image Image

Expected Behavior

README files in supported formats (.rst, .adoc, .mediawiki) should be properly parsed and rendered into readable HTML, similar to how Markdown files are handled.

Actual Behavior

README content in these formats is not fetched/rendered correctly.

Environment

  • Browser: Google Chrome Version 147.0.7727.56 (Official Build) (64-bit)
  • OS: Windows 11 Pro N Version 10.0.26200 Build 26200

Additional Context

Screenshots attached showing the rendering issues across different formats.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions