mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-31 00:21:44 +01:00
fix(index.html.mako): Added an assert to detect when docs need updating
This commit is contained in:
@@ -91,9 +91,9 @@ function onCopy(e) {
|
||||
% for version in api.list[name]:
|
||||
<tr>
|
||||
<%
|
||||
# We know type_names is just ["api", "cli"]
|
||||
#type_names = tc.keys()
|
||||
type_names = ["api", "cli"]
|
||||
assert set(type_names) == set(tc.keys()), "The type cache has changed, make sure to update the documentation accordingly"
|
||||
|
||||
with open(api_json_path(directories.api_base, name, version)) as fp:
|
||||
metadata = json.load(fp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user