Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Fix markdown list indentation in notes2news.pl script

未关闭
#2,972 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@cvvergara 已经在做这个了。

开始于 2025年9月14日。

评估

这个 Issue 还没有评估数据。

描述

Problem

The NEWS.md file generated by the notes2news.pl script contains inconsistent markdown list indentation that violates markdownlint rule MD007.

Markdownlint Violations

Multiple lines in NEWS.md (lines 377-417) show indentation errors:

  • Expected: 2 spaces for nested bullets
  • Actual: 4 spaces for nested bullets

Example violations:

377-377: Unordered list indentation - Expected: 2; Actual: 4 (MD007)
381-381: Unordered list indentation - Expected: 2; Actual: 4 (MD007)
382-382: Unordered list indentation - Expected: 2; Actual: 4 (MD007)
Root Cause

If NEWS.md is generated by the notes2news.pl script, then the script needs to be updated to emit consistent 2-space indentation for nested markdown list items.

Solution

Modify notes2news.pl to:

  1. Use 2-space indentation for each nested level in markdown lists
  2. Ensure sub-bullets under top-level bullets are prefixed with exactly two spaces
  3. Maintain consistency across all generated markdown content
Reference

This issue was identified in PR #2970: https://github.com/pgRouting/pgrouting/pull/2970#discussion_r2347640433

Acceptance Criteria
  • notes2news.pl script updated to use 2-space markdown list indentation
  • Generated NEWS.md passes markdownlint MD007 rule
  • All nested bullets consistently use 2-space increments
主要语言
C++
星标
1.4k
派生
397
平均合并
2 天 2 小时
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pgRouting/pgrouting 的其他 Issue

查看 pgRouting/pgrouting 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。