This does not work with a hook calling just gendoc as this triggers continuous reloads (see also mkdocs/mkdocs#3433). However, it should work with the plugin mkdocs-gen-files. Gen-docs may need to be adapted to use mkdocs_gen_files.open(...) for writing new markdown files under docs.
This does not work with a hook calling
just gendocas this triggers continuous reloads (see also mkdocs/mkdocs#3433). However, it should work with the plugin mkdocs-gen-files. Gen-docs may need to be adapted to usemkdocs_gen_files.open(...)for writing new markdown files under docs.