Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
| Download

Python Data Science Handbook

Views: 90277
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*- #
3
from __future__ import unicode_literals
4
5
AUTHOR = 'Jake VanderPlas'
6
SITENAME = 'Python Data Science Handbook'
7
SITESUBTITLE = u'Essential Tools for Working with Data'
8
SITEURL = ''
9
SITESUBURL = 'PythonDataScienceHandbook/'
10
PATH = 'content'
11
TIMEZONE = 'America/Los_Angeles'
12
DEFAULT_LANG = 'en'
13
14
# Feed generation is usually not desired when developing
15
FEED_ALL_ATOM = None
16
CATEGORY_FEED_ATOM = None
17
TRANSLATION_FEED_ATOM = None
18
AUTHOR_FEED_ATOM = None
19
AUTHOR_FEED_RSS = None
20
21
# Set the article URL
22
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/'
23
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
24
25
DEFAULT_PAGINATION = 10
26
27
# Uncomment following line if you want document-relative URLs when developing
28
#RELATIVE_URLS = True
29
30
#MARKUP = ('md', 'ipynb')
31
#PLUGINS = ['ipynb.markup']
32
33
MARKUP = ['md']
34
PLUGIN_PATHS = ['./plugins', './plugins/pelican-plugins']
35
PLUGINS = [
36
'summary', # auto-summarizing articles
37
'feed_summary', # use summaries for RSS, not full articles
38
'ipynb.liquid', # for embedding notebooks
39
'liquid_tags.img', # embedding images
40
'liquid_tags.video', # embedding videos
41
'liquid_tags.include_code', # including code blocks
42
'liquid_tags.literal'
43
]
44
IGNORE_FILES = ['.ipynb_checkpoints']
45
46
# for liquid tags
47
CODE_DIR = 'downloads/code'
48
NOTEBOOK_DIR = 'downloads/notebooks'
49
50
# THEME SETTINGS
51
THEME = './theme/'
52
53
ABOUT_PAGE = '/pages/about.html'
54
TWITTER_USERNAME = 'jakevdp'
55
GITHUB_USERNAME = 'jakevdp'
56
STACKOVERFLOW_ADDRESS = 'http://stackoverflow.com/users/2937831/jakevdp'
57
AUTHOR_WEBSITE = 'http://vanderplas.com'
58
AUTHOR_BLOG = 'http://jakevdp.github.io'
59
AUTHOR_CV = "http://staff.washington.edu/jakevdp/media/pdfs/CV.pdf"
60
SHOW_ARCHIVES = True
61
SHOW_FEED = False # Need to address large feeds
62
63
ENABLE_MATHJAX = True
64
65
STATIC_PATHS = ['images', 'figures', 'videos', 'downloads', 'favicon.ico']
66
67
# Footer info
68
69
LICENSE_URL = "https://github.com/jakevdp/jakevdp.github.io-source/blob/master/LICENSE"
70
LICENSE = "MIT"
71
72