Up to [cvsweb.bsd.lv] / mandoc / regress / man / SS
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 6 14:35:02 2022 UTC (2 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)
While the HTML standard allows multiple <h1> elements in the same 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>.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 3 18:19:44 2019 UTC (5 years ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)
adapt to new <p> output logic (html.c rev. 1.260)
Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 1 10:57:20 2019 UTC (5 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.2: +3 -0 lines
Diff to previous 1.2 (colored)
Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elements 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>.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 11 12:56:45 2019 UTC (5 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
Remove the HTML title= attributes which harmed accessibility and 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.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 6 04:55:15 2019 UTC (5 years, 8 months ago) by schwarze
Branch: MAIN
Finally, represent the man(7) .PP and .HP macros by the natural 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.