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
|
#!/usr/bin/env python3
import os
import sys
# Use local version of GTG
sys.path.insert(0, '../..')
from GTG.core import info
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.graphviz',
'sphinx.ext.viewcode',
]
project = 'Getting Things GNOME!'
copyright = 'The GTG Team'
short_version = '.'.join(info.VERSION.split('.')[:2])
version = short_version
release = info.VERSION
master_doc = 'index'
source_suffix = '.rst'
exclude_patterns = []
pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
html_theme = 'default'
else:
html_theme = 'nature'
html_show_sphinx = False
# -- Options for LaTeX output ---------------------------------------------
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [(
'index',
'gtg.tex',
'Getting Things GNOME! Documentation',
'The GTG Team',
'manual',
)]
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(
'man/gtg', 'gtg',
'Getting Things GNOME!, a personal tasks and TODO-list items '
'organizer for the GNOME desktop environment',
[], 1,
),
]
|