| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| import os |
| import re |
| |
| pagurefile = os.path.join( |
| os.path.dirname(__file__), '..', 'pagure', '__init__.py') |
| |
| |
| |
| with open(pagurefile) as stream: |
| VERSION = re.compile( |
| r".*__version__ = '(.*?)'", re.S |
| ).match(stream.read()).group(1) |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| extensions = [ |
| 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.viewcode' |
| ] |
| |
| |
| templates_path = ['_templates'] |
| |
| |
| source_suffix = '.rst' |
| |
| |
| |
| |
| |
| master_doc = 'index' |
| |
| |
| project = u'pagure' |
| copyright = u'2015, Red Hat Inc, Pierre-Yves Chibon <pingou@pingoured.fr>' |
| |
| |
| |
| |
| |
| |
| |
| version = VERSION |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| exclude_patterns = ['_build'] |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| pygments_style = 'sphinx' |
| |
| |
| |
| |
| |
| |
| |
| import cloud_sptheme as csp |
| |
| html_style = 'site.css' |
| |
| |
| |
| |
| html_theme = "cloud" |
| |
| |
| |
| |
| |
| |
| html_theme_options = { |
| "sidebarwidth": "200px", |
| "max_width": "900px", |
| "compact_width": "800px", |
| "minimal_width": "700px", |
| |
| |
| "bodyfont": "Cantarell", |
| |
| "highlightcolor": "#79db32", |
| |
| "sidebarbgcolor": "#FEFEFE", |
| "sidebartrimcolor": "#FEFEFE", |
| |
| "sectionbgcolor": "#FEFEFE", |
| "sectiontrimcolor": "#FEFEFE", |
| "sectiontextcolor": "#444444", |
| |
| "relbarbgcolor": "#FEFEFE", |
| "relbartextcolor": "#444444", |
| "relbarlinkcolor": "#444444", |
| |
| "bgcolor": "#FEFEFE", |
| "textcolor": "#444444", |
| |
| "linkcolor": "#00009d", |
| |
| "headtextcolor": "#444444", |
| "headlinkcolor": "#444444", |
| |
| |
| |
| "codetrimcolor": "#79db32", |
| |
| "footerbgcolor": "#FEFEFE", |
| |
| "fontcssurl": "_static/site.css" |
| } |
| |
| |
| html_theme_path = [csp.get_theme_dir()] |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| html_static_path = ['_static'] |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| html_sidebars = { |
| '**': [ |
| 'pagure-logo.html', |
| 'localtoc.html', |
| 'relations.html', |
| 'sourcelink.html', |
| 'searchbox.html', |
| ] |
| } |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| htmlhelp_basename = 'pagure' |
| |
| |
| |
| latex_elements = { |
| |
| |
| |
| |
| |
| |
| |
| |
| } |
| |
| |
| |
| |
| latex_documents = [ |
| ( |
| 'index', 'pagure.tex', u'Pagure Documentation', |
| u'Pierre-Yves Chibon \\textless{}pingou@pingoured.fr\\textgreater{}', |
| 'manual' |
| ), |
| ] |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| man_pages = [ |
| ( |
| 'index', 'pagure', u'Pagure Documentation', |
| [u'Pierre-Yves Chibon <pingou@pingoured.fr>'], |
| 1 |
| ) |
| ] |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| texinfo_documents = [ |
| ( |
| 'index', 'pagure', u'Pagure Documentation', |
| u'Pierre-Yves Chibon <pingou@pingoured.fr>', 'pagure', |
| 'Small git-centric forge', |
| 'Miscellaneous' |
| ), |
| ] |
| |
| |
| |
| |
| |
| |
| |
| |
| |