File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -161,19 +161,9 @@ func (doc *GHDoc) GrabToc() *GHToc {
161161
162162 toc := GHToc {}
163163 for _ , hdr := range hdrs {
164- // DEBUG BEGIN
165- log .Printf ("*** CHUCK: GrabToc hdr: %+#v" , hdr )
166- log .Printf ("*** CHUCK: GrabToc minDepth: %+#v" , minDepth )
167- log .Printf ("*** CHUCK: GrabToc maxDepth: %+#v" , maxDepth )
168- // DEBUG END
169164 hDepth := int (hdr .Depth )
170165 if hDepth >= minDepth && hDepth <= maxDepth {
171166 indentDepth := int (hdr .Depth ) - int (minHxDepth ) - doc .StartDepth
172- // DEBUG BEGIN
173- log .Printf ("*** CHUCK: GrabToc minHxDepth: %+#v" , minHxDepth )
174- log .Printf ("*** CHUCK: GrabToc doc.StartDepth: %+#v" , doc .StartDepth )
175- log .Printf ("*** CHUCK: GrabToc indentDepth: %+#v" , indentDepth )
176- // DEBUG END
177167 indent := strings .Repeat (listIndentation (), indentDepth )
178168 toc = append (toc , doc .tocEntry (indent , hdr ))
179169 }
Original file line number Diff line number Diff line change @@ -95,9 +95,6 @@ For example:</p>
9595 Depth : 0 ,
9696 Indent : 2 ,
9797 }
98- // DEBUG BEGIN
99- log .Printf ("*** CHUCK: ========" )
100- // DEBUG END
10198 toc := * doc .GrabToc ()
10299 for i := 0 ; i <= len (tocExpected )- 1 ; i ++ {
103100 if toc [i ] != tocExpected [i ] {
You can’t perform that action at this time.
0 commit comments