#NEWLINE# def replace_settingslist_nodes( app , doctree , fromdocname ) : #NEWLINE# #INDENT# env = app . builder . env #NEWLINE# for node in doctree . traverse ( settingslist_node ) : #NEWLINE# #INDENT# settings_list = nodes . bullet_list ( ) #NEWLINE# settings_list . extend ( [ make_setting_element ( d , app , fromdocname ) for d in sorted ( env . scrapy_all_settings , key = itemgetter ( 'setting_name' ) ) if ( fromdocname != d [ 'docname' ] ) ] ) #NEWLINE# node . replace_self ( settings_list )