Project

General

Profile

Actions

Feature #40681

closed

Dynamic generation of supported code highlighting languages in help section

Added by Go MAEDA over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
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 MAEDAActions
Related to Redmine - Feature #36594: Relax rouge version dependency in GemfileClosedGo MAEDAActions
Actions

Also available in: Atom PDF