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
- Open the following repository pages:
- Navigate to the Readme tab
- Observe how the README content is displayed
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.
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
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
Additional Context
Screenshots attached showing the rendering issues across different formats.