I need to copy a file before the documentation generation starts. I put
this to the beginning of *conf.py*:
from shutil import copy
copy('../../README.md', '.')
I want to delete this file after the documentation has been generated. How
can I instruct Sphinx to execute code after the generation?
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/bb5f66de-4664-4673-a293-37e3eacd314cn%40googlegroups.com.