Add warning unstable at the beginning of the API

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

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))