Skip to content

Preserve paragraphs in generated module documentation - #28

Merged
lemonhub-io merged 1 commit into
puddi-lang:mainfrom
kalidatuna:fix/module-doc-paragraphs
Nov 28, 2026
Merged

lemonhub-io merged 1 commit into
puddi-lang:mainfrom
kalidatuna:fix/module-doc-paragraphs

Conversation

@kalidatuna

Copy link
Copy Markdown
Contributor

Fixes #13.

The module documentation renderer now joins wrapped lines within a paragraph with spaces and separates nonempty paragraphs with a blank Markdown line. Leading, repeated and trailing empty comment lines do not create extra blank paragraphs.

  • Regression tests: two tests for paragraph separation and empty separators; both failed before the fix and passed afterward.
  • CHANGELOG.md updated under Unreleased.
  • README/docs: no command or flag changes; the issue-specific output correction is covered by the changelog.

Validation: rustc --edition=2024 --test src/tools.rs (3 passed); cargo test --no-default-features --bin pud --locked (3 passed); git diff --check passed. The full embedded-runtime and conformance suites have not been run.

AI assistance was used to implement and review this focused change.

@kalidatuna

Copy link
Copy Markdown
Contributor Author

A separate question: does Puddi offer contributor rewards for fixes like this, or have any small paid follow-up tasks available? No payment was agreed for this contribution, and its review is independent of that question.

@ghfind-review ghfind-review Bot added the review: medium ghfind author score; see https://ghfind.com label Nov 27, 2026
@lemonhub-io
lemonhub-io merged commit 83eba5e into puddi-lang:main Nov 28, 2026
5 checks passed
@lemonhub-io

Copy link
Copy Markdown
Member

Thanks for asking! Unfortunately, Puddi is currently a fully community-driven open-source project, and we don’t have a budget for paid contributions, bounty rewards, or follow-up tasks.

We really appreciate your interest in contributing, though. Contributions are entirely voluntary, and we understand that not everyone has the time or resources to participate without compensation. There’s absolutely no expectation or pressure to continue contributing.

Thanks again for taking the time to work on this PR. We appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: medium ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve paragraphs in generated module documentation

2 participants