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

Unified Diff: chrome/common/extensions/docs/server2/table_of_contents_renderer.py

Issue 102593005: Clean patch with DCC static content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bumped versions of cron and app, so running server won't update Created 7 years 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
Index: chrome/common/extensions/docs/server2/table_of_contents_renderer.py
diff --git a/chrome/common/extensions/docs/server2/table_of_contents_renderer.py b/chrome/common/extensions/docs/server2/table_of_contents_renderer.py
index 1d6f3bb5c10963e73ebae9c803b76b8d305cd724..1a5b3b529b8f5c0b0441da9a7f081874e31d9904 100644
--- a/chrome/common/extensions/docs/server2/table_of_contents_renderer.py
+++ b/chrome/common/extensions/docs/server2/table_of_contents_renderer.py
@@ -36,6 +36,7 @@ class TableOfContentsRenderer(object):
'attributes': [(key, val) for key, val in entry.attributes.iteritems()
if key != 'id'],
'link': entry.attributes.get('id', ''),
+ 'hideInTOC': entry.attributes.get('hideintoc', None)!=None,
not at google - send to devlin 2013/12/13 23:03:47 this CL is pretty large and I can't patch it in, s
Renato Mangini (chromium) 2013/12/17 20:32:33 Done. I wasn't aware of the title="" trick
'subheadings': make_toc_items(entry.entries),
'title': entry.name,
} for entry in entries]

Powered by Google App Engine
This is Rietveld 408576698