Skip to content

uudoc: use the package version in generated documentation - #15427

Merged
sylvestre merged 1 commit into
uutils:mainfrom
limadog9:fix/uudoc-version-badge
Oct 17, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
limadog9:fix/uudoc-version-badge

Conversation

@limadog9

Copy link
Copy Markdown
Contributor

Use the package version in generated Markdown badges and manpage VERSION sections, displaying v0.13.0 instead of v(uutils coreutils) 0.13.0. Preserve utility --version output.

Closes #7780.

Comment thread src/bin/uudoc.rs Outdated
}

#[test]
fn test_markdown_version() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we want to have test for non-production. Also this is just someone's prefer.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the standalone Markdown version test. Kept the version checks in the existing manpage integration tests, which exercise the actual binary.

@limadog9
limadog9 force-pushed the fix/uudoc-version-badge branch from 4cae8c3 to 9fcc5d5 Compare October 16, 2026 19:48
@limadog9
limadog9 force-pushed the fix/uudoc-version-badge branch from 9fcc5d5 to b06b99d Compare October 16, 2026 19:58
@sylvestre
sylvestre merged commit c75b4d3 into uutils:main Oct 17, 2026
92 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version string in docs is wrong

3 participants