-
Notifications
You must be signed in to change notification settings - Fork 151
/
conf.py
96 lines (69 loc) · 2.61 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
# -*- coding: utf-8 -*-
import tinkerer
import tinkerer.paths
# Change this to the name of your blog
project = 'Bakery'
# Change this to the tagline of your blog
tagline = 'Everything CakePHP'
# Change this to the description of your blog
description = 'Latest news and articles about CakePHP'
# Change this to your name
author = 'Cake Software Foundation, Inc'
# Change this to your copyright string
copyright = ' ' + author
# Change this to your blog root URL (required for RSS feed)
website = 'https://bakery.cakephp.org'
# **************************************************************
# More tweaks you can do
# **************************************************************
# Add your Disqus shortname to enable comments powered by Disqus
disqus_shortname = None
# Pick another Tinkerer theme or use your own
html_theme = "cakephp"
# 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 = 1
# 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", "categories.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 = False
html_add_permalinks = None
# Disable indexes we never link to.
html_domain_indicies = False
html_use_modindex = False
html_use_index = False
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer
lexers['phpinline'] = PhpLexer(startinline=True)