CVS log for mandoc/regress/man/SH/paragraph.out_html

[BACK] Up to [cvsweb.bsd.lv] / mandoc / regress / man / SH

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 6 14:35:01 2022 UTC (23 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (unified)

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:43 2019 UTC (4 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (unified)

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, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5
Changes since 1.2: +4 -0 lines
Diff to previous 1.2 (unified)

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:44 2019 UTC (5 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (unified)

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:13 2019 UTC (5 years, 5 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb