1
0
Fork 0
forked from github/pelican
pelican-theme/docs/conf.py

58 lines
1.7 KiB
Python
Raw Permalink Normal View History

2010-10-13 23:08:08 +01:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
2010-10-13 23:08:08 +01:00
import sys, os
sys.path.append(os.path.abspath(os.pardir))
2013-03-27 09:30:54 +01:00
from pelican import __version__
2010-10-13 23:08:08 +01:00
# -- General configuration -----------------------------------------------------
templates_path = ['_templates']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.ifconfig', 'sphinx.ext.extlinks']
2010-10-13 23:08:08 +01:00
source_suffix = '.rst'
master_doc = 'index'
project = 'Pelican'
copyright = '2010, Alexis Metaireau and contributors'
2010-10-13 23:08:08 +01:00
exclude_patterns = ['_build']
release = __version__
2013-03-27 09:30:54 +01:00
version = '.'.join(release.split('.')[:1])
last_stable = '3.2.2'
rst_prolog = '''
.. |last_stable| replace:: :pelican-doc:`{0}`
'''.format(last_stable)
extlinks = {
'pelican-doc': ('http://docs.getpelican.com/%s/', '')
}
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,
'index_logo': 'pelican.png',
'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.
htmlhelp_basename = 'Pelicandoc'
2010-10-13 23:08:08 +01:00
# -- Options for LaTeX output --------------------------------------------------
latex_documents = [
('index', 'Pelican.tex', 'Pelican Documentation',
'Alexis Métaireau', 'manual'),
2010-10-13 23:08:08 +01:00
]
# -- Options for manual page output --------------------------------------------
man_pages = [
('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
]