parameters: (self, toc, content, page)
docstring: Add the table of contents right-side bar that used scrollspy.
  
          Inputs:
              toc[html.Tag]: Table-of-contents <div> tag.
              content[html.Tag]: The complete html content that the TOC is going to reference.
              page[page.PageNodeBase]: The current page being converted.
docstring_summary: Add the table of contents right-side bar that used scrollspy.
docstring_tokens: Add the table of contents right - side bar that used scrollspy .
function: def _addContents(self, toc, content, page):
          """
          Add the table of contents right-side bar that used scrollspy.
  
          Inputs:
              toc[html.Tag]: Table-of-contents <div> tag.
              content[html.Tag]: The complete html content that the TOC is going to reference.
              page[page.PageNodeBase]: The current page being converted.
          """
  
          div = html.Tag(toc, 'div', class_='toc-wrapper pin-top')
          ul = html.Tag(div, 'ul', class_='section table-of-contents')
          for node in moosetree.iterate(content):
              if node.get('data-section-level', None) == 2:
                  node.addClass('scrollspy')
                  li = html.Tag(ul, 'li')
                  a = html.Tag(li, 'a',
                               href='#{}'.format(node['id']),
                               string=node.get('data-section-text', 'Unknown...'),
                               class_='tooltipped')
                  a['data-position'] = 'left'
                  a['data-tooltip'] = node['data-section-text']
function_tokens: def _addContents ( self , toc , content , page ) : div = html . Tag ( toc , 'div' , class_ = 'toc-wrapper pin-top' ) ul = html . Tag ( div , 'ul' , class_ = 'section table-of-contents' ) for node in moosetree . iterate ( content ) : if node . get ( 'data-section-level' , None ) == 2 : node . addClass ( 'scrollspy' ) li = html . Tag ( ul , 'li' ) a = html . Tag ( li , 'a' , href = '#{}' . format ( node [ 'id' ] ) , string = node . get ( 'data-section-text' , 'Unknown...' ) , class_ = 'tooltipped' ) a [ 'data-position' ] = 'left' a [ 'data-tooltip' ] = node [ 'data-section-text' ]