Fix markdown list indentation in notes2news.pl script

Aperta
#2,972 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@cvvergara ci sta già lavorando.

Dal 14/9/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
C++
Stelle
1.4k
Fork
397
Merge medio
2g 2h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pgRouting/pgrouting

Tutte le issue di pgRouting/pgrouting

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.