Skip to content

Commit

Permalink
processToc: Lower limit to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed Nov 4, 2024
1 parent e76622e commit aa339cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/almanack/service-gdocs-process.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func processToc(doc *html.Node, rows xhtml.TableNodes) string {
container.AppendChild(ul)
currentUl := ul
lastDepth := 7 // Past H6, the maximum possible depth
const limit = 20
const limit = 10
n := 0
for _, h := range headers {
n++
Expand Down

0 comments on commit aa339cf

Please sign in to comment.