Skip to content

autodoc.pl: Generate missing pod for back-compat symbols - #24641

Merged
khwilliamson merged 1 commit into
Perl:bleadfrom
khwilliamson:autodoc_B
Aug 6, 2026
Merged

autodoc.pl: Generate missing pod for back-compat symbols#24641
khwilliamson merged 1 commit into
Perl:bleadfrom
khwilliamson:autodoc_B

Conversation

@khwilliamson

Copy link
Copy Markdown
Contributor

It's a pain to write documentation. That helps explain why We have >3K undocumented symbols visible to the outside world.

With symbols that are retained just for backwards compatibility, that may well be all that a module maintainer needs to know: Don't use it for new code. And that pod can be automatically generated.

This commit adds that ability and uses it for 4 symbols. There are dozens more that could benefit from this, but I'm starting with just these to get people's reactions.

  • This set of changes does not require a perldelta entry.

@jkeenan jkeenan changed the title autodoc.pl: Generate missing pod for bac-compat symbols autodoc.pl: Generate missing pod for back-compat symbols Jul 30, 2026
@khwilliamson

Copy link
Copy Markdown
Contributor Author

Here's a sample of the end result

aTHXo is provided for backwards compatibility with
existing code, and should not be used for new code.

No further documentation is currently available.
Patches welcome.

It's a pain to write documentation.  That helps explain why We have >3K
undocumented symbols visible to the outside world.

With symbols that are retained just for backwards compatibility, that
may well be all that a module maintainer needs to know: Don't use it for
new code.  And that pod can be automatically generated.

This commit adds that ability and uses it for 4 symbols.  There are
dozens more that could benefit from this, but I'm starting with just
these to get people's reactions.
@khwilliamson
khwilliamson merged commit 2293fca into Perl:blead Aug 6, 2026
33 checks passed
@khwilliamson
khwilliamson deleted the autodoc_B branch August 6, 2026 15:40
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.

1 participant