-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
123 lines (103 loc) · 3.91 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
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
123
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Mesa Release Manager'
SITENAME = 'Mesa 3D'
SITESUBTITLE = u'A open source implementation of the openGL spec'
SITEURL = ''
# Default path to read content from. If you don't specify a path after calling the pelican command, this path will be used
PATH = 'content'
# Configure the timezone to use when formatting dates
TIMEZONE = 'America/Los_Angeles'
# Configure how to display the dates
DEFAULT_DATE_FORMAT = '%B %d,%Y'
# Set the default language of the generated files
DEFAULT_LANG = 'en'
# Set the default locale to ignore users C Locale
LOCALE = ('usa', 'en_US')
# Disable Feed generation
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
FEED_ALL_ATOM = None
FEED_ALL_RSS = None
# Configure how the generated URLs should look like
ARTICLE_URL = '{slug}.html'
PAGE_URL = '{slug}.html'
# Configure where to save files
PAGE_SAVE_AS = '{slug}.html'
ARTICLE_SAVE_AS = '{slug}.html'
# Disable Categories, tags and Authors generation
CATEGORY_SAVE_AS = ''
TAG_SAVE_AS = ''
AUTHOR_SAVE_AS = ''
# Configure how many itens to show per page
DEFAULT_PAGINATION = 10
# Theme configuration
THEME = 'nisarg-theme'
NISARG_SHOW_SIDEBAR = 1
NISARG_PAGINATION_NEXT = u'Next'
NISARG_PAGINATION_PREVIOUS = u'Previous'
NISARG_HEADER = 'images/header.jpg'
NISARG_MINIFY_CSS = 1
NISARG_SIDEBAR = [
('Documentation', [
('Introduction', 'intro.html'),
('News', 'index.html'),
('Developers', 'developers.html'),
('Platforms and Drivers', 'systems.html'),
('License & Copyright', 'license.html'),
('FAQ', 'faq.html'),
('Acknowledgements', 'thanks.html'),
('Conformance Testing', 'conform.html')
]),
('Download / Install', [
('Downloading / Unpacking', 'download.html'),
('Compiling / Installing', 'install.html'),
('Autoconf', 'autoconf.html'),
('Precompiled Libraries', 'precompiled.html')
]),
('Resources', [
('Mailing Lists', 'lists.html'),
('Bug Database', 'bugs.html'),
('Webmaster', 'webmaster.html'),
('Mesa/DRI Wiki', 'https://dri.freedesktop.org/')
]),
('User Topics', [
('Shading Language', 'shading.html'),
('EGL', 'egl.html'),
('OpenGL ES', 'opengles.html'),
('Environment Variables', 'envvars.html'),
('Off-Screen Rendering', 'osmesa.html'),
('Debugging Tips', 'debugging.html'),
('Performance Tips', 'perf.html'),
('Mesa Extensions', 'extensions.html'),
('GL Function Name Mangling', 'mangling.html'),
('Gallium llvmpipe driver', 'llvmpipe.html'),
('VMware SVGA3D guest driver', 'vmware-guest.html'),
('Gallium post-processing', 'postprocess.html'),
('Application Issues', 'application-issues.html'),
('Viewperf Issues', 'viewperf.html')
]),
('Developer Topics', [
('Source Code Repository', 'repository.html'),
('Source Code Tree', 'sourcetree.html'),
('Utilities', 'utilities.html'),
('Help Wanted', 'helpwanted.html'),
('Development Notes', 'devinfo.html'),
('Coding Style', 'codingstyle.html'),
('Submitting patches', 'submittingpatches.html'),
('Releasing process', 'releasing.html'),
('Source Documentation', 'sourcedocs.html'),
('GL Dispatch', 'dispatch.html')
]),
('Links', [
('OpenGL website', 'https://www.opengl.org/'),
('DRI website', 'https://dri.freedesktop.org/'),
('FreeDesktop.org', 'https://www.freedesktop.org/'),
('Developer Blogs', 'https://planet.freedesktop.org/')
])
]
# Static files
STATIC_PATHS = ['images']