diff options
| author | hobbs <hobbs> | 2006-10-31 01:05:24 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2006-10-31 01:05:24 (GMT) |
| commit | 09d4f8d22a6e17a972b4154d883531e5da876184 (patch) | |
| tree | 43f8ee0bc9fde0ee7478347fd6ea97c5235e1389 | |
| parent | 2a37393fec6a0ddcde95c2c8ff5aa09c07af5646 (diff) | |
| download | tcl-09d4f8d22a6e17a972b4154d883531e5da876184.zip tcl-09d4f8d22a6e17a972b4154d883531e5da876184.tar.gz tcl-09d4f8d22a6e17a972b4154d883531e5da876184.tar.bz2 | |
* tools/tcltk-man2html.tcl (option-toc): handle any kind of
options defined toc section (needed for ttk docs)
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | tools/tcltk-man2html.tcl | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-10-30 Jeff Hobbs <jeffh@ActiveState.com> + + * tools/tcltk-man2html.tcl (option-toc): handle any kind of + options defined toc section (needed for ttk docs) + 2006-10-30 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (TEOVI): insured that the interp's callObjc/v diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl index 11e54c7..d0e126c 100755 --- a/tools/tcltk-man2html.tcl +++ b/tools/tcltk-man2html.tcl @@ -393,7 +393,7 @@ proc long-toc {text} { } proc option-toc {name class switch} { global manual - if {[string equal $manual(section) "WIDGET-SPECIFIC OPTIONS"]} { + if {[string match "*OPTIONS" $manual(section)]} { # link the defined option into the long table of contents set link [long-toc "$switch, $name, $class"] regsub -- "$switch, $name, $class" $link "$switch" link |
