diff options
author | hobbs <hobbs@noemail.net> | 2006-10-31 01:05:23 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2006-10-31 01:05:23 (GMT) |
commit | 325d380914f0b3fd5c839513131aeb46dfe2bec8 (patch) | |
tree | 43f8ee0bc9fde0ee7478347fd6ea97c5235e1389 /tools | |
parent | a0e16ebb1a62482ae6ac2b003004bb413b924138 (diff) | |
download | tcl-325d380914f0b3fd5c839513131aeb46dfe2bec8.zip tcl-325d380914f0b3fd5c839513131aeb46dfe2bec8.tar.gz tcl-325d380914f0b3fd5c839513131aeb46dfe2bec8.tar.bz2 |
* tools/tcltk-man2html.tcl (option-toc): handle any kind of
options defined toc section (needed for ttk docs)
FossilOrigin-Name: 34237547c9c9bf5ab24b6ea4e88edb50af248ebc
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tcltk-man2html.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
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 |