pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/rumdl



Module Name:    pkgsrc
Committed By:   pin
Date:           Thu Jan 29 14:21:13 UTC 2026

Modified Files:
        pkgsrc/textproc/rumdl: Makefile distinfo

Log Message:
textproc/rumdl: update to 0.1.4

## [0.1.4] - 2026-01-28

### Changed

- **MD073: Simplified to marker-based TOC detection only** ([#332](https://github.com/rvben/rumdl/issues/332))
  - Removed heading-based TOC detection (~200 lines of code)
  - Now only supports `<!-- toc -->...<!-- tocstop -->` markers
  - Ensures consistent detect/fix behavior - only validates TOCs users explicitly mark
  - Rule is now opt-in: disabled by default, enable with `[MD073] enabled = true`

### Fixed

- **Rules: Call should_skip() in linting engine for opt-in rules**
  - Opt-in rules (like MD073) now correctly skip when disabled
  - Previously, rules had to check skip internally which caused inconsistent behavior
  - Architectural fix affects all rules with opt-in behavior

- **MD073: Fix HTML anchor handling in heading ID generation**
  - Headings with `<a name="..."></a>` anchors now correctly extract the anchor ID
  - Centralized fix in `header_id_utils.rs` benefits all anchor-related functionality

- **MD032: Fix should_skip() to detect ordered lists**
  - `likely_has_lists()` only checked for unordered markers (`*`, `-`, `+`)
  - Ordered lists (e.g., `1. item`) were incorrectly skipped
  - Now uses pre-computed `list_blocks` which includes all list types

## [0.1.3] - 2026-01-28

### Added

- **MD073: Table of Contents validation rule**
  - Validates TOC entries match actual document headings
  - Detects missing, extra, misordered, and misnamed TOC entries
  - Supports multiple anchor styles: GitHub, GitLab, Markdownlint, VSCode
  - Configurable: `toc-heading`, `anchor-style`, `case-sensitive`

### Fixed

- **MD064: Recognize sentence endings after markdown inline elements** ([#345](https://github.com/rvben/rumdl/issues/345))
  - `allow-sentence-double-space` now works with sentences ending in inline code, emphasis, bold, strikethrough, and other markdown elements
  - Example: `` `code`.  Next sentence `` no longer flags a false positive


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/rumdl/Makefile \
    pkgsrc/textproc/rumdl/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/rumdl/Makefile
diff -u pkgsrc/textproc/rumdl/Makefile:1.6 pkgsrc/textproc/rumdl/Makefile:1.7
--- pkgsrc/textproc/rumdl/Makefile:1.6  Wed Jan 28 09:21:52 2026
+++ pkgsrc/textproc/rumdl/Makefile      Thu Jan 29 14:21:13 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2026/01/28 09:21:52 pin Exp $
+# $NetBSD: Makefile,v 1.7 2026/01/29 14:21:13 pin Exp $
 
-DISTNAME=      rumdl-0.1.2
+DISTNAME=      rumdl-0.1.4
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rvben/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/rumdl/distinfo
diff -u pkgsrc/textproc/rumdl/distinfo:1.6 pkgsrc/textproc/rumdl/distinfo:1.7
--- pkgsrc/textproc/rumdl/distinfo:1.6  Wed Jan 28 09:21:52 2026
+++ pkgsrc/textproc/rumdl/distinfo      Thu Jan 29 14:21:13 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2026/01/28 09:21:52 pin Exp $
+$NetBSD: distinfo,v 1.7 2026/01/29 14:21:13 pin Exp $
 
 BLAKE2s (adler2-2.0.1.crate) = 4d391e0fcde91c7435ee9a5503fee4a5346f549f1b45e482ce3e1e151d90f8f5
 SHA512 (adler2-2.0.1.crate) = 555b2b7ba6f8116acccd0bcd16ed34cc78162c81023cff31a8566ffcd456c03832089fca2d5b668ceaac4fe8f922d31aa9c487f226a36cace294ff4a219bd91d
@@ -639,9 +639,9 @@ Size (reqwest-0.12.24.crate) = 159974 by
 BLAKE2s (ring-0.17.14.crate) = 1480ea4de12099a897e831682ebaf48ed6e688e06f58e79e496a06e227ed58bd
 SHA512 (ring-0.17.14.crate) = 88d38205dc1a1f89bd4ae887ec5c168e68a4b749b3ac0612674092331e99d14a9b8d0f4a98d72c1a3853bcc9da420402336da3ee053bedcfd598da8de93afa14
 Size (ring-0.17.14.crate) = 1502610 bytes
-BLAKE2s (rumdl-0.1.2.tar.gz) = 47034f4ae3829832cca7015edbd7f0cc785bba6a40455af4801a2bc745bebacc
-SHA512 (rumdl-0.1.2.tar.gz) = 63079e019fc4aa2d1fc17a44d5bba2e0cf72bdb7d162da9378e6c09cf5673b08371ba4b65183788fce52cc74c5231f874ce9952b36ae28fe120be99448544f3a
-Size (rumdl-0.1.2.tar.gz) = 1732817 bytes
+BLAKE2s (rumdl-0.1.4.tar.gz) = 81ee92f21cb06692e15da6d7ea2ea85b505838f58f571f1067f65aba8b91359f
+SHA512 (rumdl-0.1.4.tar.gz) = 076e17423e3d291a825b3c16108f916a8b3870578a70bdf2585b156cd2d4ead2b87c6b867986628b13aa43df989e82371a130c3cee116addc90a780bb431d275
+Size (rumdl-0.1.4.tar.gz) = 1746153 bytes
 BLAKE2s (rustc_version-0.4.1.crate) = f0d198d0457135ca7572b41cd2440f1b0ca075013f53b384d07c00db8c5d2e84
 SHA512 (rustc_version-0.4.1.crate) = 7aa8a487ca7411b6d23cae62f7568fa3474a7b1fd1589621071be3428a550ed3b7c4ad68277a8f86849e5900397d7d0e9d678f5d423742a045dc7c660fa6c598
 Size (rustc_version-0.4.1.crate) = 12245 bytes



Home | Main Index | Thread Index | Old Index