2010-10-13 23:08:08 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2013-01-11 02:57:43 +01:00
|
|
|
from __future__ import unicode_literals
|
2010-10-13 23:08:08 +01:00
|
|
|
import sys, os
|
|
|
|
|
|
2013-03-11 08:25:47 -04:00
|
|
|
sys.path.append(os.path.abspath(os.pardir))
|
2012-03-15 00:23:07 +00:00
|
|
|
|
2012-03-16 14:27:26 +00:00
|
|
|
from pelican import __version__, __major__
|
|
|
|
|
|
2010-10-13 23:08:08 +01:00
|
|
|
# -- General configuration -----------------------------------------------------
|
|
|
|
|
templates_path = ['_templates']
|
2011-01-05 16:23:44 +01:00
|
|
|
extensions = ['sphinx.ext.autodoc',]
|
2010-10-13 23:08:08 +01:00
|
|
|
source_suffix = '.rst'
|
|
|
|
|
master_doc = 'index'
|
2013-01-11 02:57:43 +01:00
|
|
|
project = 'Pelican'
|
|
|
|
|
copyright = '2010, Alexis Metaireau and contributors'
|
2010-10-13 23:08:08 +01:00
|
|
|
exclude_patterns = ['_build']
|
2012-03-16 14:27:26 +00:00
|
|
|
version = __version__
|
|
|
|
|
release = __major__
|
2010-10-13 23:08:08 +01:00
|
|
|
|
|
|
|
|
# -- Options for HTML output ---------------------------------------------------
|
|
|
|
|
|
|
|
|
|
html_theme_path = ['_themes']
|
2011-04-26 00:34:03 +01:00
|
|
|
html_theme = 'pelican'
|
2010-10-13 23:08:08 +01:00
|
|
|
|
2010-10-29 02:30:51 +01:00
|
|
|
html_theme_options = {
|
2011-04-26 00:34:03 +01:00
|
|
|
'nosidebar': True,
|
2010-12-15 18:01:29 +00:00
|
|
|
'index_logo': 'pelican.png',
|
2012-07-27 00:27:08 +02:00
|
|
|
'github_fork': 'getpelican/pelican',
|
2010-10-29 02:30:51 +01:00
|
|
|
}
|
2010-10-13 23:08:08 +01:00
|
|
|
|
|
|
|
|
html_static_path = ['_static']
|
|
|
|
|
|
|
|
|
|
# Output file base name for HTML help builder.
|
2011-06-13 14:23:07 +02:00
|
|
|
htmlhelp_basename = 'Pelicandoc'
|
2010-10-13 23:08:08 +01:00
|
|
|
|
|
|
|
|
# -- Options for LaTeX output --------------------------------------------------
|
|
|
|
|
latex_documents = [
|
2013-01-11 02:57:43 +01:00
|
|
|
('index', 'Pelican.tex', 'Pelican Documentation',
|
|
|
|
|
'Alexis Métaireau', 'manual'),
|
2010-10-13 23:08:08 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
# -- Options for manual page output --------------------------------------------
|
|
|
|
|
man_pages = [
|
2013-01-11 02:57:43 +01:00
|
|
|
('index', 'pelican', 'pelican documentation',
|
|
|
|
|
['Alexis Métaireau'], 1),
|
|
|
|
|
('pelican-themes', 'pelican-themes', 'A theme manager for Pelican',
|
|
|
|
|
['Mickaël Raybaud'], 1),
|
|
|
|
|
('themes', 'pelican-theming', 'How to create themes for Pelican',
|
|
|
|
|
['The Pelican contributors'], 1)
|
2010-10-13 23:08:08 +01:00
|
|
|
]
|