Project

General

Profile

Actions

Feature #40681

closed

Dynamic generation of supported code highlighting languages in help section

Added by Go MAEDA 7 months ago. Updated 7 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 #1

Updated by Go MAEDA 7 months 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 7 months ago

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

Updated by Go MAEDA 7 months ago

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

Updated by Marius BÄ‚LTEANU 7 months ago

  • Target version set to Candidate for next major release

Nice!

Actions #6

Updated by Go MAEDA 7 months 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 7 months 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