Commits

Javier Novoa C.  committed 76a8ba2

According to Guidelines file, any file with a TOC must not be
commented and must reflect its contents as expandable sections. Code
didn't reflected this, but now it's fixed.

  • Participants
  • Parent commits c572fe3

Comments (0)

Files changed (1)

     # If the page is the main TOC, and user option is set, then style the <li>
     # so they can expand (uses Javascript).  Will still display the page
     # properly even if there is no Javascript.
-    if page == toc_page:
+    if page.is_toc: # page == toc_page:
         page_body = re.sub('toctree-l1', 'ucomment-toctree-l1', page_body)
         css_body_class = 'ucomment-root'
     else: