set_title_from_environment#

technote.ext.metadata.set_title_from_environment(app, env)#

Set the technote title from the root document’s H1 once the read phase is complete.

This function is hooked into the Sphinx env-updated event, which fires for every builder. It reads the root document’s doctree from the environment, so it also works for incremental builds where the root document was not re-read. The title in technote.toml is never overridden.

Parameters:
Return type:

None