-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
122 lines (90 loc) · 3.37 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# -*- coding: utf-8 -*-
# flake8: noqa
import tinkerer
import tinkerer.paths
# **************************************************************
# TODO: Edit the lines below
# **************************************************************
# Change this to the name of your blog
project = 'mkouhei\'s blog'
# Change this to the tagline of your blog
tagline = ''
# Change this to the description of your blog
#description = 'This is an awesome blog'
# Change this to your name
author = 'mkouhei'
# Change this to your copyright string
copyright = '2006-2021, Kouhei Maeda, screen name: {0}'.format(author)
# Change this to your blog root URL (required for RSS feed)
website = 'https://d.palmtb.net/'
# **************************************************************
# More tweaks you can do
# **************************************************************
# Add your Disqus shortname to enable comments powered by Disqus
disqus_shortname = 'mkouhei'
# Change your favicon (new favicon goes in _static directory)
html_favicon = '_static/tinkerer.ico'
# Pick another Tinkerer theme or use your own
html_theme = 'mysite'
# 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 = 5
# Character use to replace non-alphanumeric characters in slug
slug_word_separator = '_'
# Set to page under /pages (eg. "about" for "pages/about.html")
landing_page = None
# Set to override the default name of the first page ("Home")
first_page_title = None
# **************************************************************
# Edit lines below to further customize Sphinx build
# **************************************************************
# Add other Sphinx extensions here
extensions = ['tinkerer.ext.blog',
'tinkerer.ext.disqus',
'sphinxcontrib.blockdiag',
'sphinxcontrib.nwdiag',
'sphinx.ext.graphviz',
'sphinxcontrib.gist']
# 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/*', '.venv/*']
# Add templates to be rendered in sidebar here
html_sidebars = {
'**': ['recent.html',
'ad3.html',
'ad1.html',
'searchbox.html',
'categories.html',
'ad2.html',
'tags.html',
'ipv4_v6_meter.html']
}
# Add an index to the HTML documents.
html_use_index = False
# **************************************************************
# 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_show_sourcelink = False
html_permalinks_icon = '¶'
blockdiag_fontpath = '/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf'
blockdiag_antialias = True
def setup(app):
app.add_js_file('custom.js')
app.add_css_file('custom.css')