Skip to content
Tcl Source Code Changes To How to edit/test tcl man pages
Login

Changes To How to edit/test tcl man pages

Changes to "How to edit/test tcl man pages" between 2021-02-08 08:35:05 and 2021-04-16 11:48:18

︙
22
23
24
25
26
27
28
29

30
31
32
33
34
35
36
37


38
39
40
41
42
43
44
22
23
24
25
26
27
28

29
30
31
32
33
34
35


36
37
38
39
40
41
42
43
44







-
+






-
-
+
+







<h2>Output for the web</h2>

Use the <tt>make html</tt> in the unix directory, which will build documentation trees for Tcl, Tk and all installed contrib packages. Assume you need an up-to-date version of Tcl installed on your local platform to run this.

The process may be started manually using:

<verbatim>
cltk-man-html \[OPTION\] ...
tclsh tools/tcltk-man-html.tcl
  --help              print this help, then exit
  --version           print version number, then exit
  --srcdir=DIR        find tcl and tk source below DIR
  --htmldir=DIR       put generated HTML in DIR
  --tcl               build tcl help
  --tk                build tk help
  --useversion        version of tcl/tk to search for
  --verbose           whether to print longer messages
  --useversion=ver    version of tcl/tk to search for
  --verbose=0/1       whether to print longer messages
</verbatim>

Remark, that there is only one folder for tcl and tk. Tk must be in a folder beside tcl and the folder must be named "tk" + the value of "--version".

<h1>Editing the documentation</h1>

2015-06-18 Donal K. Fellows posted on the core list the following text:
︙