Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B40C10580 for ; Thu, 30 Jan 2014 18:48:21 +0000 (UTC) Received: (qmail 27738 invoked by uid 500); 30 Jan 2014 18:48:18 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 27553 invoked by uid 500); 30 Jan 2014 18:48:15 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 27438 invoked by uid 99); 30 Jan 2014 18:48:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jan 2014 18:48:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 52D709162B7; Thu, 30 Jan 2014 18:48:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alena1108@apache.org To: commits@cloudstack.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/4.3-forward to 54f2234 Date: Thu, 30 Jan 2014 18:48:12 +0000 (UTC) Updated Branches: refs/heads/4.3-forward ce7c6d235 -> 54f2234e2 Fixed API doc that got broken by adding new commands for stratosphere ssp plugin Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/54f2234e Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/54f2234e Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/54f2234e Branch: refs/heads/4.3-forward Commit: 54f2234e2191533be21b328534dc20b1871ca3ad Parents: ce7c6d2 Author: Alena Prokharchyk Authored: Thu Jan 30 10:42:52 2014 -0800 Committer: Alena Prokharchyk Committed: Thu Jan 30 10:43:00 2014 -0800 ---------------------------------------------------------------------- tools/apidoc/gen_toc.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/54f2234e/tools/apidoc/gen_toc.py ---------------------------------------------------------------------- diff --git a/tools/apidoc/gen_toc.py b/tools/apidoc/gen_toc.py index 4cfbeb4..9e4cd31 100644 --- a/tools/apidoc/gen_toc.py +++ b/tools/apidoc/gen_toc.py @@ -6,9 +6,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -126,7 +126,7 @@ known_categories = { 'Project': 'Project', 'Lun': 'Storage', 'Pool': 'Pool', - 'VPC': 'VPC', + 'VPC': 'VPC', 'PrivateGateway': 'VPC', 'Simulator': 'simulator', 'StaticRoute': 'VPC', @@ -159,7 +159,8 @@ known_categories = { 'UCS' : 'UCS', 'Ucs' : 'UCS', 'CacheStores' : 'Cache Stores', - 'CacheStore' : 'Cache Store' + 'CacheStore' : 'Cache Store', + 'StratosphereSsp' : ' Stratosphere SSP' } @@ -204,7 +205,7 @@ for f in sys.argv: pass except IndexError, e: print fn - + def xml_for(command): name = command['name'] @@ -219,7 +220,7 @@ def xml_for(command): def write_xml(out, user): with file(out, 'w') as f: cat_strings = [] - + for category in categories.keys(): strings = [] for command in categories[category]: @@ -241,7 +242,7 @@ def write_xml(out, user): %(all_strings)s - + ''' % locals() @@ -267,7 +268,7 @@ def java_for_user(user): for command in categories[category]: if command['user'] == user: strings.append(java_for(command, user)) - func = user_to_func[user] + func = user_to_func[user] all_strings = ''.join(strings) return ''' public void %(func)s() {