| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
perldoc takes up 4 column indent, not 7.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After decades of stability, the 'less' pager project decided to claim an
extra column for its own use when called with certain common options.
This commit changes some of the auto-generating tools to wrap one column
earlier to compensate, and changes podcheck to also whine on wide
verbatim text one column less. But it changes the podcheck data base
to grandfather-in all the many existing places that exceed that amount.
That means only changes made to pods after this commit will be held to
the stricter value.
Of course, what this means is those pods will wrap or truncate in these
places on an 80 column window, making them harder to read, when used
with 'less' and when it is called with the options that reserve those
two columns. Patches welcome.
I haven't seen the wrapping problem with perldoc, and haven't
investigated much.
|
|
|
|
|
| |
Instead of having a grab bag section of all interpreter variables, move
their documentation to the section that they actually fit under.
|
| |
|
|
|
|
| |
into Debugging and Display sections
|
| |
|
|
|
|
|
|
|
|
| |
Many of the files in perl are for one thing only, and hence their
embedded documentation will be for that one thing. By creating a hash
here of them, those files don't have to worry about what section that
documentation goes under, and so it can be completely changed without
affecting them.
|
|
|
|
|
|
|
|
| |
This reverts commit 0213d97dcda976f02ce257031d969e7964ecc545, and fixes
it up.
That commit failed to account for that there were extra components
needed in the calculation
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
This is in preparation for it to be called from a 2nd place
|
|
|
|
|
| |
e4f5ddf407394c177acefd200a338654dccca2e4 moved this calculation, but I
forgot to remove this portion of it.
|
| |
|
|
|
|
| |
These were going into wrong ones.
|
| |
|
|
|
|
|
|
| |
Prior to this, the headings were kept as string keys in a hash. This
allows for easier tweaking of their contents, and to more easily catch
typos.
|
|
|
|
|
| |
This is just a list, with nothing to be gained by having a single entry
per line, and making multiple columns shortens it significantly.
|
|
|
|
| |
This is in preparation of it becoming more complex in a future commit
|
| |
|
|
|
|
|
| |
Typedefs are part of the API; this allows us to document basic things
such as CV, U8 that aren't currently covered.
|
|
|
|
|
|
| |
Initializing everything with the first elements values allows us to not
look at that element again. Previously, only somethings were so
initialized.
|
|
|
|
|
|
| |
Before this patch, it wasn't considering the thread context when
deciding whether two forms of similar functions had the same signature
or not; hence not displaying things when it should have.
|
|
|
|
|
|
| |
The code wasn't properly showing signatures when the function was a
subsidiary one in an entry containing multiple functions, and the
function's signature was specified in embed.fnc
|
|
|
|
|
|
| |
This platform has config.h located in a different place
Thanks to Christian Walde for testing this
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
In the past a section could just spring into existence. This adds a
check that it is one of the known ones, so typos won't create a screwed
up perlapi. If a new section is needed, just add it to the list of
valid ones.
|
|
|
|
| |
This would enable someone to more quickly organize their search
|
|
|
|
| |
But warn when one encountered.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This heavily refactors the code that outputs each api element.
Indentation is cut to 1 space, as anything more doesn't matter much
visually, or at all in html displays, and this gives more geography on a
line.
More importantly, multiple items sharing the same pod within the same
element are displayed prettier.
xxx 1 indent f display
|
|
|
|
| |
config.h is now parsed, and the results intermixed into perlapi.
|
|
|
|
|
|
|
| |
Previously, there were no section footers
This commit doesn't actually add any of these; just accepts and handles
any future ones.
|
|
|
|
| |
This make all-caps ones look better
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds apidoc_item so that you can specify things that are closely
related in a single entry, with the list of the things at the top, much
as perlfunc does with, say, various forms of split
The arguments to the non-main entry are accepted but nothing is done
with them now. This is because I was uncertain how we might want to
display things, as the arguments to the main entry have been shown
forever only in the usage paragraph at the end, unlike perlfunc where
the arguments are displayed on the same line as each variant.
|
|
|
|
|
|
|
|
|
| |
This refactors the code that reads the documentation to eliminate
redundant code. Now, the same loop reads both the heading text and the
pod guts.
As part of this, certain headings that were inadvertently omitted from
perlapi are now included.
|
| |
|
| |
|
|
|
|
| |
And shortens others
|
|
|
|
|
|
|
| |
This intermediate value caused confusion, and isn't necessary.
A porting test would fail temporarily, so that has been turned off for
the next few commits
|
|
|
|
| |
The previous ones were misleading
|
| |
|
|
|
|
| |
Outdent since the previous commit removed an enclosing block
|
|
|
|
|
|
| |
This is in preparation for it being called from a second place.
The function is also expanded to accept a future syntactic construct
|
| |
|
|
|
|
|
| |
The rest of the file is basically dictionary order; do the same for
these
|
|
|
|
|
| |
This harvests all the pods linked to by perlapi/perlintern and puts them
in the SEE ALSO section
|
|
|
|
|
|
|
|
| |
This enhances perlapi and perlintern so that an API element that is
documented in some other pod can automatically have a link to that pod
generated and placed into perlapi/perlintern. This allows one stop
browsing through the API, as the hither-to-unlisted elements now are
listed there, with a link.
|