Dynamic documentation generation based on comments in source code is standard practice across the industry but appears to be unsupported in the current implementation of mkdocs underlying TechDocs. Please consider enabling a plugin such as mkdocstrings (https://mkdocstrings.github.io/) -- this plugin in particular supports several languages, including Python and TypeScript.
Without a plugin like this, dynamic generation of documentation based on source code annotations and comments is not possible, which largely mitigates the usefulness of TechDocs as a feature.