docgen: correct the progress bar

It wasn't showing progress for non-code nodes.
12e2523730Andrew Kelley committed on 4/2/2021, 8:57:16 PMparent228a1ce
1 file changedLine totals unavailable