From 0af06291feda22fae890b90bf69a95f76161ac26 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 2 Aug 2017 21:55:30 +0100 Subject: [PATCH] Hardcode client major version r0 --- scripts/gendoc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/gendoc.py b/scripts/gendoc.py index 217c6789..2077fcbe 100755 --- a/scripts/gendoc.py +++ b/scripts/gendoc.py @@ -518,7 +518,10 @@ if __name__ == '__main__': substitutions = { "%CLIENT_RELEASE_LABEL%": args.client_release, - "%CLIENT_MAJOR_VERSION%": extract_major(args.client_release), + # we hardcode a major version of r0. This ends up in the + # example API URLs. When we have released a new major version, + # we'll have to bump it. + "%CLIENT_MAJOR_VERSION%": "r0", "%SERVER_RELEASE_LABEL%": args.server_release, "%SERVER_MAJOR_VERSION%": extract_major(args.server_release), }