If we don't have a ---\ntitle: ...\n--- section, then we should instead search for the first heading in the document, rather than just having 'Untitled page'.
This is helpful for generated documentation where we might not have the heading available, e.g. with keymanapp/keyman#10839.
If we don't have a
---\ntitle: ...\n---
section, then we should instead search for the first heading in the document, rather than just having 'Untitled page'.This is helpful for generated documentation where we might not have the heading available, e.g. with keymanapp/keyman#10839.