Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Side by Side Diff: chrome/common/extensions/docs/server2/converter.py

Issue 10836213: Extensions Docs Server: devtools.* APIs should not be in the apps api_index.html (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/templates/public/apps/devtools_inspectedWindow.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Example run from the server2/ directory: 6 # Example run from the server2/ directory:
7 # $ converter.py ../static/ ../../api templates/articles/ templates/intros/ 7 # $ converter.py ../static/ ../../api templates/articles/ templates/intros/
8 # templates/public/ static/images/ -r 8 # templates/public/ static/images/ -r
9 9
10 import json 10 import json
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 EXTENSIONS_ONLY = [ 48 EXTENSIONS_ONLY = [
49 'browserAction', 49 'browserAction',
50 'extension', 50 'extension',
51 'input_ime', 51 'input_ime',
52 'fontSettings', 52 'fontSettings',
53 'fileBrowserHandler', 53 'fileBrowserHandler',
54 'omnibox', 54 'omnibox',
55 'pageAction', 55 'pageAction',
56 'scriptBadge', 56 'scriptBadge',
57 'windows', 57 'windows',
58 'devtools_inspectedWindow',
59 'devtools_network',
60 'devtools_panels',
58 'experimental_devtools_audits', 61 'experimental_devtools_audits',
59 'experimental_devtools_console', 62 'experimental_devtools_console',
60 'experimental_discovery', 63 'experimental_discovery',
61 'experimental_infobars', 64 'experimental_infobars',
62 'experimental_offscreenTabs', 65 'experimental_offscreenTabs',
63 'experimental_processes', 66 'experimental_processes',
64 'experimental_speechInput' 67 'experimental_speechInput'
65 ] 68 ]
66 69
67 def _ReadFile(filename): 70 def _ReadFile(filename):
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 if (not opts.file and len(args) != 6) or (opts.file and len(args) != 7): 354 if (not opts.file and len(args) != 6) or (opts.file and len(args) != 7):
352 parser.error('incorrect number of arguments.') 355 parser.error('incorrect number of arguments.')
353 356
354 if opts.file: 357 if opts.file:
355 _MoveSingleFile(*args, replace=opts.replace, svn=opts.svn) 358 _MoveSingleFile(*args, replace=opts.replace, svn=opts.svn)
356 else: 359 else:
357 _MoveAllFiles(*args, 360 _MoveAllFiles(*args,
358 replace=opts.replace, 361 replace=opts.replace,
359 exclude_dir=opts.exclude, 362 exclude_dir=opts.exclude,
360 svn=opts.svn) 363 svn=opts.svn)
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/templates/public/apps/devtools_inspectedWindow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698