Project

General

Profile

Actions

Feature #40681

closed

Dynamic generation of supported code highlighting languages in help section

Added by Go MAEDA about 1 month ago. Updated 30 days 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 #1

Updated by Go MAEDA about 1 month ago

  • Related to Feature #33859: Add a list of supported languages by the code highlighter to the help added
Actions #2

Updated by Go MAEDA about 1 month ago

  • Related to Feature #36594: Relax rouge version dependency in Gemfile added
Actions #3

Updated by Go MAEDA about 1 month ago

  • File deleted (dynamic-generation-of-syntax-highlighting-languages.patch)
Actions #5

Updated by Marius BÄ‚LTEANU about 1 month ago

  • Target version set to Candidate for next major release

Nice!

Actions #6

Updated by Go MAEDA about 1 month ago

  • Target version changed from Candidate for next major release to 6.0.0

Setting the target version to 6.0.0.

Actions #7

Updated by Go MAEDA 30 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Actions

Also available in: Atom PDF