mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-08 22:03:29 +02:00
replace if dupe with if not docs
This commit is contained in:
parent
5083efe9a6
commit
880f4589b8
5 changed files with 86 additions and 15 deletions
|
@ -120,7 +120,7 @@ const writeSubsection = (subsection, depth) => {
|
|||
if (!subsection.name) {
|
||||
return
|
||||
}
|
||||
if (subsection.dupe) {
|
||||
if (!subsection.doc) {
|
||||
subContent = fromOSSettings(subsection.name) + '\n'
|
||||
}
|
||||
let header = '#'.repeat(depth) + ' ' + subsection.name + '\n' + '\n'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue