rename documentation heading
@@ -24,6 +24,16 @@ if sys.platform in ["linux", "darwin"]:
else:
subprocess.check_output(["make.bat", "generate-api"], cwd=os.path.dirname(os.path.abspath(__file__)))
+# CK: Rename "covasim package" to "API reference"
+filename = 'modules.rst'
+with open(filename) as f:
+ lines = f.readlines()
+lines[0] = "API reference\n"
+lines[1] = "=============\n"
+with open(filename, "w") as f:
+ f.writelines(lines)
+
+
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
