replace if dupe with if not docs

This commit is contained in:
alexfornuto 2021-07-28 13:27:22 -05:00
parent 5083efe9a6
commit 880f4589b8
5 changed files with 86 additions and 15 deletions

View file

@ -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'