Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds two more potential layers of depth to left nav #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jdcmsd
Copy link
Contributor

@jdcmsd jdcmsd commented Feb 27, 2025

Adding two more levels of left-nav depth snags all the missing child items that would surface on searches but not on the nav itself.

Confirmed max depth via Velocity script; run the following in Velocity Playground:

## Initialize!
#set($toc = $dotcontent.find("211e0406-1c2e-4975-9027-3480c2088464"))
#set($L1 = [])
#set($L2 = [])
#set($L3 = [])
#set($L4 = [])
#set($L5 = [])
#set($L6 = [])
#set($L7 = [])
#set($L8 = [])
#set($L9 = [])
#set($L10 = [])
## GATHER ALL DATA ###############################
## L1
#foreach($section in $toc.dotcmsdocumentationchildren)
#set($dummy = $!L1.add($section))
#end
## L2
#foreach($item in $L1)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L2.add($section))
#end
#end
## L3
#foreach($item in $L2)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L3.add($section))
#end
#end
## L4
#foreach($item in $L3)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L4.add($section))
#end
#end
## L5
#foreach($item in $L4)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L5.add($section))
#end
#end
## L6
#foreach($item in $L5)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L6.add($section))
#end
#end
## L7
#foreach($item in $L6)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L7.add($section))
#end
#end
## L8
#foreach($item in $L7)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L8.add($section))
#end
#end
## L9
#foreach($item in $L8)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L9.add($section))
#end
#end
## L10
#foreach($item in $L9)
#foreach($section in $item.dotcmsdocumentationchildren)
#set($dummy = $!L10.add($section))
#end
#end
##
## SHOW ALL DATA #########################
##
L1
#foreach($item in $L1)
$item.title    -    $item.urlTitle
#end


L2
#foreach($item in $L2)
$item.title    -    $item.urlTitle
#end


L3
#foreach($item in $L3)
$item.title    -    $item.urlTitle
#end


L4
#foreach($item in $L4)
$item.title    -    $item.urlTitle
#end


L5
#foreach($item in $L5)
$item.title    -    $item.urlTitle
#end


L6
#foreach($item in $L6)
$item.title    -    $item.urlTitle
#end


L7
#foreach($item in $L7)
$item.title    -    $item.urlTitle
#end


L8
#foreach($item in $L8)
$item.title    -    $item.urlTitle
#end


L9
#foreach($item in $L9)
$item.title    -    $item.urlTitle
#end


L10
#foreach($item in $L10)
$item.title    -    $item.urlTitle
#end

Copy link

vercel bot commented Feb 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
new-new-devsite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 27, 2025 4:25pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant