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

Unified Diff: chrome/common/extensions/docs/build/directory.py

Issue 9315008: Honor 'nodoc' in samples.html of API documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/docs/samples.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/build/directory.py
diff --git a/chrome/common/extensions/docs/build/directory.py b/chrome/common/extensions/docs/build/directory.py
index b32d18146651dec1ce4e6a93b6f105ed417ce307..a555fbcbe2a4bd7e0d54ceed8c5a521e3e82282c 100644
--- a/chrome/common/extensions/docs/build/directory.py
+++ b/chrome/common/extensions/docs/build/directory.py
@@ -122,6 +122,8 @@ class ApiManifest(object):
if module.has_key(key):
methods.extend(module[key])
for method in methods:
+ if method.has_key('nodoc'):
+ continue
method_name = 'chrome.%s.%s' % (namespace, method['name'])
hashprefix = 'method'
if key == 'events':
« no previous file with comments | « no previous file | chrome/common/extensions/docs/samples.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698