You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if scripts executed via mkdocs-gen-files could put in a if __name__ = "__main__" guard clause so they don't run if they're imported from elsewhere.
Currently that doesn't work, because runpy defaults to a run name of "<run_path>"
It would be helpful if scripts executed via
mkdocs-gen-files
could put in aif __name__ = "__main__"
guard clause so they don't run if they're imported from elsewhere.Currently that doesn't work, because runpy defaults to a run name of
"<run_path>"
mkdocs-gen-files/mkdocs_gen_files/plugin.py
Line 38 in 7baa032
The text was updated successfully, but these errors were encountered: