Add warning unstable at the beginning of the API

This commit is contained in:
Julien Duponchelle committed 2015-02-23 18:00:59 +01:00
1 parent 4ffb2c8c20
commit cad708f4ab
73 files changed
+156 -32

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ class Documentation(object):
os.makedirs(directory, exist_ok=True)
with open("docs/api/{}.rst".format(handler_name), "w+") as f:
f.write(handler_name.replace("_", " ", ).capitalize())
f.write(handler_name.replace("api.", "").replace("_", " ", ).capitalize())
f.write("\n---------------------\n\n")
f.write(".. toctree::\n :glob:\n :maxdepth: 2\n\n {}/*\n".format(handler_name))