From 3f6206216e363ef43b165a72465dc5c3eb94376f Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 4 Nov 2020 06:13:30 -0700 Subject: autodoc.pl: Enhance apidoc_section feature This feature allows documentation destined for perlapi or perlintern to be split into sections of related functions, no matter where the documentation source is. Prior to this commit the line had to contain the exact text of the title of the section. Now it can be a $variable name that autodoc.pl expands to the title. It still has to be an exact match for the variable in autodoc, but now, the expanded text can be changed in autodoc alone, without other files needing to be updated at the same time. --- universal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'universal.c') diff --git a/universal.c b/universal.c index 0cc6363b0a..9c49cd8327 100644 --- a/universal.c +++ b/universal.c @@ -120,7 +120,7 @@ S_sv_derived_from_svpvn(pTHX_ SV *sv, SV *namesv, const char * name, const STRLE } /* -=for apidoc_section SV Handling +=for apidoc_section $SV =for apidoc sv_derived_from_pvn -- cgit v1.2.1