-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconf.py
98 lines (70 loc) · 2.84 KB
/
conf.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# -*- coding: utf-8 -*-
import tinkerer
import tinkerer.paths
# **************************************************************
# TODO: Edit the lines below
# **************************************************************
# Change this to the name of your blog
project = 'Friends of Cake'
# Change this to the tagline of your blog
tagline = 'The Cake was not a Lie'
# Change this to the description of your blog
description = 'This blog compiles the writings of many developers who are passionate about developing with CakePHP and programming in general'
# Change this to your name
author = 'FriendsOfCake'
# Change this to your copyright string
copyright = '2014, ' + author
# Change this to your blog root URL (required for RSS feed)
website = 'http://blog.friendsofcake.org'
# **************************************************************
# More tweaks you can do
# **************************************************************
# Add your Disqus shortname to enable comments powered by Disqus
disqus_shortname = 'friendsofcake'
# Change your favicon (new favicon goes in _static directory)
html_favicon = 'tinkerer.ico'
# Pick another Tinkerer theme or use your own
html_theme = "flat"
# Theme-specific options, see docs
html_theme_options = { }
# Link to RSS service like FeedBurner if any, otherwise feed is
# linked directly
rss_service = None
# Generate full posts for RSS feed even when using "read more"
rss_generate_full_posts = False
# Number of blog posts per page
posts_per_page = 10
# Character use to replace non-alphanumeric characters in slug
slug_word_separator = '-'
# **************************************************************
# Edit lines below to further customize Sphinx build
# **************************************************************
# Add other Sphinx extensions here
extensions = ['tinkerer.ext.blog', 'tinkerer.ext.disqus']
# Add other template paths here
templates_path = ['_templates']
# Add other static paths here
html_static_path = ['_static', tinkerer.paths.static]
# Add other theme paths here
html_theme_path = ['_themes', tinkerer.paths.themes]
# Add file patterns to exclude from build
exclude_patterns = ["drafts/*", "_templates/*"]
# Add templates to be rendered in sidebar here
html_sidebars = {
"**": ["recent.html", "searchbox.html"]
}
# **************************************************************
# Do not modify below lines as the values are required by
# Tinkerer to play nice with Sphinx
# **************************************************************
source_suffix = tinkerer.source_suffix
master_doc = tinkerer.master_doc
version = tinkerer.__version__
release = tinkerer.__version__
html_title = project
html_use_index = False
html_show_sourcelink = True
html_add_permalinks = None
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer
lexers['phpinline'] = PhpLexer(startinline=True)