diff --git a/docs/build_all.py b/docs/build_all.py index a53330f..27b7878 100644 --- a/docs/build_all.py +++ b/docs/build_all.py @@ -46,6 +46,7 @@ for tag in tags: os.environ["VERSION_INFO"] = repr(tag) subprocess.run(["git", "checkout", tag], shell=True) + subprocess.run(["git", "checkout", "main", "--", "conf.py"], shell=True) files = glob.glob("apidocs/*.rst") for f in files: os.remove(f)