Improve docs TOC handling

The doc system has an implicit assumption that each director in the
docs tree has a corresponding '.md' file. This change creates
a placeholder entry when the .md file is missing so the TOC tree
doesn't break.