forked from openproceedings/openproceedings-buildbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
50 lines (40 loc) · 1.33 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
AUTHOR = u'Andrea Zonca'
SITENAME = u'Scipy 2014 proceedings'
SITEURL = 'http://scipy-conference.github.io/proceedings/2014/'
TIMEZONE = 'America/Los_Angeles'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
DISPLAY_CATEGORIES_ON_MENU=False
TRANSLATION_FEED_ATOM = None
PDF_PROCESSOR=True
BIBTEX_PROCESSOR=True
SOCIAL = None
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
THEME = "themes/pelican-bootstrap3"
PLUGIN_PATH = "plugins"
import sys
sys.path.append(".")
import figshare_pdf
PLUGINS = ["pdf", ]#figshare_pdf]
FIGSHARE_CLIENT_KEY = '541lmG0dcTUK0sjCWquPog'
#FIGSHARE_CLIENT_SECRET = os.environ["FIGSHARE_CLIENT_SECRET"]
FIGSHARE_TOKEN_KEY = 'v7RkXTnx2bIbhuNR3pvc0wPMDbv7CxteYwMgdbJe05kAv7RkXTnx2bIbhuNR3pvc0w'
#FIGSHARE_TOKEN_SECRET = os.environ["FIGSHARE_TOKEN_SECRET"]
FIGSHARE_CATEGORY_ID = 77 #applied computer science
FIGSHARE_BIBTEX_TEMPLATE = """@InProceedings{ %(tag)s-openproc-2013,
author = { %(authors)s },
title = { %(title)s },
booktitle = { Test Proceedings for OpenProceedings },
year = { 2013 },
editor = { Andrea Zonca },
doi = { %(doi)s },
url = { %(url)s }
}
"""