Chromium Code Reviews| 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] |