Project

General

Profile

Actions

Feature #40681

closed

Dynamic generation of supported code highlighting languages in help section

Added by Go MAEDA 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

This patch changes the "List of languages supported by Redmine code highlighter" page in the help to be dynamically generated.

Currently, if the Rouge library adds new languages, someone has to manually update a list in the file app/views/help/wiki_syntax/code_highlighting_languages.html.erb. This method takes time and can lead to mistakes.

With this patch applied, the help page will automatically show any new languages that Rouge starts supporting. This means the list will always be up-to-date without needing manual changes.


Files


Related issues

Related to Redmine - Feature #33859: Add a list of supported languages by the code highlighter to the helpClosedGo MAEDA

Actions
Related to Redmine - Feature #36594: Relax rouge version dependency in GemfileClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF