|
12 | 12 |
|
13 | 13 | SECTION_FORMAT_TEMPLATES = {
|
14 | 14 | "md": lambda title: f"# {title}",
|
15 |
| - "rst": lambda title: f"**{title}**", |
| 15 | + "rst": lambda title: f"**{title}**\n", |
16 | 16 | "text": lambda title: f"{title}\n{'-' * len(title)}",
|
17 | 17 | }
|
18 | 18 |
|
19 | 19 |
|
20 | 20 | ISSUE_FORMAT_TEMPLATES = {
|
21 | 21 | "md": lambda title, number, **_: f"- {title} - [#{number}](https://github.com/{REPO_NAME}/issues/{number})",
|
22 |
| - "rst": lambda title, number, **_: f"- {title} - :pull:`{number}`", |
| 22 | + "rst": lambda title, number, **_: f"- {title} - :issue:`{number}`", |
23 | 23 | "text": lambda title, number, **_: f"- {title} - #{number}",
|
24 | 24 | }
|
25 | 25 |
|
26 | 26 | PULL_REQUEST_FORMAT_TEMPLATES = {
|
27 | 27 | "md": lambda title, number, **_: f"- {title} - [#{number}](https://github.com/{REPO_NAME}/pull/{number})",
|
28 |
| - "rst": lambda title, number, **_: f"- {title} - :issue:`{number}`", |
| 28 | + "rst": lambda title, number, **_: f"- {title} - :pull:`{number}`", |
29 | 29 | "text": lambda title, number, **_: f"- {title} - #{number}",
|
30 | 30 | }
|
31 | 31 |
|
|
0 commit comments