#NEWLINE# @ task ( 10 ) #NEWLINE# def index_page( self ) : #NEWLINE# #INDENT# r = self . client . get ( '/' ) #NEWLINE# pq = PyQuery ( self . content ) #NEWLINE# link_elements = pq ( '.toctree-wrapper a.internal' ) #NEWLINE# self . toc_urls = [ l . attrib [ 'href' ] for l in link_elements ]