app.set_debug(True) # also web.config.debug app.set_template_caching(False) # also web.config.template_caching app.set_flush_cache_on_startup(True) # what sorting options are shown (key must match cl sort options) app.set_ui_sort_by( dict(key='cit', description='number of citations'), dict(key='rel', description='relevance'), dict(key='dat', description='year') ) # you can reorder the facets and change default look here # name must match the sphinx client facet names app.set_ui_facets( dict(name='author', description='AUTHORS', color='blue', visualization='counts'), dict(name='keyword', description='KEYWORDS', color='black'), dict(name='venue', description='VENUE', color='green', visualization='counts'), dict(name='year', description='YEAR', color='red', visualization='rose'), ) # instance name and description which appears in the front page app.set_ui_instance( instance_name='DBLP', description='''<p>Search over 1.7M <strong>computer science publications</strong> from <a href="http://dblp.uni-trier.de/db">DBLP</a> enhanced with <a href="http://citeseerx.ist.psu.edu/">CiteSeerX</a>.</p>''' ) # read templates from this directory first app.override_template('./views') # all assets at /public/ will be read here app.set_public_dir('./public')
app.set_template_caching(False) # also web.config.template_caching app.set_flush_cache_on_startup(True) # what sorting options are shown (key must match cl sort options) app.set_ui_sort_by(dict(key='cit', description='number of citations'), dict(key='rel', description='relevance'), dict(key='dat', description='year')) # you can reorder the facets and change default look here # name must match the sphinx client facet names app.set_ui_facets( dict(name='author', description='AUTHORS', color='blue', visualization='counts'), dict(name='keyword', description='KEYWORDS', color='black'), dict(name='venue', description='VENUE', color='green', visualization='counts'), dict(name='year', description='YEAR', color='red', visualization='rose'), ) # instance name and description which appears in the front page app.set_ui_instance( instance_name='DBLP', description= '''<p>Search over 2.4M <strong>computer science publications</strong> from <a href="http://dblp.uni-trier.de/db">DBLP</a> enhanced with <a href="http://citeseerx.ist.psu.edu/">CiteSeerX</a>.</p>''' ) # read templates from this directory first