Skip to content

Commit

Permalink
Add support for Github issue numbers in Markdown converter (e.g., MIG…
Browse files Browse the repository at this point in the history
…RATE.md file) (#13215)

# Conflicts:
#	lucene/MIGRATE.md
  • Loading branch information
uschindler committed Mar 26, 2024
1 parent fafd16b commit 668303c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gradle/documentation/markdown.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ class MarkdownFilter extends FilterReader {
// first replace LUCENE and SOLR issue numbers with a markdown link
markdownSource = markdownSource.replaceAll(/(?s)\b(LUCENE|SOLR)\-\d+\b/,
'[$0](https://issues.apache.org/jira/browse/$0)');
markdownSource = markdownSource.replaceAll(/(?s)\b(GITHUB#|GH-)(\d+)\b/,
'[$0](https://github.com/apache/lucene/issues/$2)');

// convert the markdown
MutableDataSet options = new MutableDataSet();
Expand Down

0 comments on commit 668303c

Please sign in to comment.