Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-06-19
23:37
Undo change in [b70eeebb0d196bb2]: It breaks the "make html" target in github actions. See also [1e1... check-in: f886df2504 user: jan.nijtmans tags: core-8-branch
2021-06-18
18:28 • Ticket [1e10b17023] `make html` How should it work? status still Open with 3... artifact: 939be51112 user: dgp
18:19 • New ticket [1e10b17023]. artifact: 2b7d7c1bb0 user: dgp

`make html` How should it work?

Open1e10b170233c0f147945ef0ab0b295237807faf1Created 5 years agoUpdated 5 years ago
Descriptionplain2021-06-18 18:19:51
The html documentation building code in tools/tcltk-man2html* has diverged
between the Tcl 8.6 and Tcl 8.7 branches in ways that have disrupted the
use of `make html` to create the documentation distributions for Tcl/Tk 8.7a
releases.

This ticket is opened to maybe lay down some information about what changed,
why, how the `make html` target is used, and how changes have broken those
uses.
Referenced by1
dgpplain2021-06-18 18:28:24
From my perspective, I use only the `make html` target, and I use it
only to create the documentation distribution.  My habit is to have
a top level directory with the same name it has in the release.
In the latest release, that was a directory named "tcl8.7a5".  I want
`make html` to build docs for both Tcl and a matching release of Tk
under a directory named `tk8.7a5`.  I do my distribution making operating
in the "unix" subdirectory.

When I came to make the latest distribution,
the `make html` target failed to do what I needed, and the next 5 or so
attempts to feed it a set of command line arguments to make it behave
also failed.  The command line arguments are poorly (sometimes falsely)
semi-documented by the -help message.  It is not clear what knobs control
what consequences.  I see also that in the finished product, the presented
css style is now changed, and the filenames have changed from "contents.htm"
to "index.htm" if not more layout changes (why?).

I don't mind adapting to new habits so long as I have a prayer of
understanding what to do, and we don't get into a cycle of changing
things every time with little apparent need.
Log in (anonymous is fine) to add a comment.