summaryrefslogtreecommitdiffstats
path: root/regress/man/SH
Commit message (Collapse)AuthorAgeFilesLines
* reduce the man(7) global indentation from 7n to 5n, see man_term.c rev. 1.244Ingo Schwarze2023-11-138-36/+36
|
* While the HTML standard allows multiple <h1> elements in the sameIngo Schwarze2022-07-061-2/+2
| | | | | | | | | | | | document, <h1> is intended for top level headers, and most of the sections in a manual page can hardly be considered top-level. It is more usual to use <h1> only for the main title of the document of for the site name. Consequently, move .Sh/.SH from <h1> to <h2> and .Ss/.SS from <h2> to <h3>, freeing <h1> for use by header.html in man.cgi(8). Discussed with Anna Vyalkova <cyber at sysrq dot in>.
* delete the two pairs of extra blank lines from expected man(7) terminalIngo Schwarze2021-06-288-32/+4
| | | | output that are no longer printed since man_term.c rev. 1.236
* trivial adjustment of the desired test resultsIngo Schwarze2020-07-211-4/+4
| | | | after getting rid of the "copyless" crutch
* automatically tag .SH and .SS in man(7) terminal outputIngo Schwarze2020-04-042-1/+6
| | | | in the same way as it was done for .Sh and .Ss in mdoc(7)
* Introduce the concept of nodes that are semantically transparent:Ingo Schwarze2020-02-273-2/+26
| | | | | | | | | | | | | | they are skipped when looking for previous or following high-level macros. Examples include roff(7) .ft, .ll, and .ta, mdoc(7) .Sm and .Tg, and man(7) .DT and .PD. Use this concept for a variety of improved decisions in various validators and formatters. While here, * remove a few const qualifiers on struct arguments that caused trouble; * get rid of some more Yoda notation in the vicinity; * and apply some other stylistic improvements in the vicinity. I found this class of issues while considering .Tg patches from kn@.
* adapt to new <p> output logic (html.c rev. 1.260)Ingo Schwarze2019-09-031-3/+1
|
* Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elementsIngo Schwarze2019-03-011-0/+4
| | | | | | as recommended for accessibility by the HTML 5 standard. Triggered by a similar, but slightly different suggestion from Laura Morales <lauretas at mail dot com>.
* Remove the HTML title= attributes which harmed accessibility andIngo Schwarze2019-01-111-2/+2
| | | | | | | violated the principle of separation of content and presentation. Instead, implement the tooltips purely in CSS. Thanks to John Gardner <gardnerjohng at gmail dot com> for suggesting most of the styling in the new ::before rules.
* Finally, represent the man(7) .PP and .HP macros by the naturalIngo Schwarze2019-01-064-2/+49
| | | | | | | | | | | choice, which is the <p> HTML element. On top of the previous fill-mode improvements, the key to making this possible is to automatically close the <p> when required: before headers, subsequent paragraphs, lists, indented blocks, synopsis blocks, tbl(7) blocks, and before blocks using no-fill mode. In man(7) documents, represent the .sp request by a blank line in no-fill mode and in the same way as .PP in fill mode.
* catch up with the changed order of warnings;Ingo Schwarze2018-12-311-1/+1
| | | | related to man_validate.c rev. 1.145
* Now that we have the -Wstyle message level, downgrade six warningsIngo Schwarze2017-07-061-1/+1
| | | | | | that are not syntax mistakes and that do not cause wrong formatting or content to style suggestions. Also upgrade two warnings that may cause information loss to errors.
* Messages of the -Wbase level now print STYLE:. Since thisIngo Schwarze2017-07-049-27/+28
| | | | | | | | causes horrible churn anyway, profit of the opportunity to stop excessive testing, such that this is hopefully the last instance of such churn. Consistently use OpenBSD RCS tags, blank .Os, blank fourth .TH argument, and Mdocdate like everywhere else. Use -Ios=OpenBSD for platform-independent predictable output.
* cope with changes in BASE messagesIngo Schwarze2017-06-254-4/+4
|
* style message about missing RCS ids; inspired by mdoclintIngo Schwarze2017-06-174-0/+4
|
* ignore blank lines in man(7) next line scope;Ingo Schwarze2017-06-034-0/+9
| | | | strange groff edge case behaviour found in multimedia/mjpegtools
* Finally port the OpenBSD regression suite.Ingo Schwarze2017-02-0815-0/+191
| | | | | Both kristaps@ and wiz@ repeated asked for this, literally for years.
* Move the regression suite to the attic.Ingo Schwarze2014-03-032-29/+0
| | | | | | | It has not been used or maintained for several years, and we won't start using it now. Devlopment regression testing is done in OpenBSD, and there is no value in maintaining two regression suites in parallel.
* Test .SH with only empty paragraph. Don't test .IP without body.Joerg Sonnenberger2010-05-221-0/+3
|
* Multiple empty .PPs don't add a vspace eitherJoerg Sonnenberger2010-05-171-0/+3
|
* Tests for sane and insane handling of lines before and after .SH/.SSJoerg Sonnenberger2010-05-172-0/+23