summaryrefslogtreecommitdiffstats
path: root/tools/tcltk-man2html.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-09-01 15:41:39 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-09-01 15:41:39 (GMT)
commitb49a223081e4f93057f918cea19696f888c574be (patch)
tree85202b7ca0a322233feb8e135572e6bdf2135fc2 /tools/tcltk-man2html.tcl
parent04ab428f804a0e194d610406c11168c6f50ad166 (diff)
downloadtcl-b49a223081e4f93057f918cea19696f888c574be.zip
tcl-b49a223081e4f93057f918cea19696f888c574be.tar.gz
tcl-b49a223081e4f93057f918cea19696f888c574be.tar.bz2
* tools/tcltk-man2html.tcl: Improve handling of cross-links for
options between Ttk manual pages.
Diffstat (limited to 'tools/tcltk-man2html.tcl')
-rwxr-xr-xtools/tcltk-man2html.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index e846a00..978aa86 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -516,7 +516,10 @@ proc long-toc {text} {
proc option-toc {name class switch} {
global manual
if {[string match "*OPTIONS" $manual(section)]} {
- if {$manual(name) ne "ttk_widget"} {
+ if {
+ $manual(name) ne "ttk_widget"
+ && $manual(section) ne "WIDGET-SPECIFIC OPTIONS"
+ } then {
# link the defined option into the long table of contents
set link [long-toc "$switch, $name, $class"]
regsub -- "$switch, $name, $class" $link "$switch" link