Commits

dan mackinlay committed 06470ce

remove bibligraphy crap

Comments (0)

Files changed (1)

         builddir='_build',
         confdir='.',
     ),
-    bibliography=Bunch(
-        title=getattr(conf, 'bib_title', 'Bibliography'),
-        cul_username=getattr(conf, 'cul_username', ''),
-        bibtex_file=getattr(conf, 'bibtex_file', 'bibliography.bib'),
-        bibdoc_file=getattr(conf, 'bibdoc_file', 'bibliography.rst'),
-    )
 )
 
 setup(
 def rebuild_html():
     """i do this so often when themeing"""
     pass
-
-@task
-def update_bibtex(options):
-    """fetch that citation file"""
-    from citeulike2bib import update_bibtex
-    filepath = path(options.docroot)/options.bibtex_file
-    update_bibtex(username=options.cul_username, filepath=filepath)
-
-@task
-def update_bib(options):
-    """
-    Write that citation file to ReST
-    This is slow, so we look at timestamps.
-    """
-    from bib2rst import update_bibliography
-    infilepath = path(options.docroot)/options.bibtex_file
-    outfilepath = path(options.docroot)/options.bibdoc_file
-    #i want the following to work, but it needs a ReST doc for input
-    # sh("bib4txt.py -n -o %s %s" % (outfilepath, infilepath,))
-    update_bibliography(infilepath=infilepath, outfilepath=outfilepath)