123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- import sys
- import os
- from sphinx.highlighting import lexers
- from pygments.lexers.web import PhpLexer
- lexers['php'] = PhpLexer(startinline=True)
- on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
- if not on_rtd:
- import sphinx_rtd_theme
- html_theme = 'sphinx_rtd_theme'
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
- extensions = [
- 'sphinx.ext.autodoc',
- ]
- templates_path = ['_templates']
- source_suffix = '.rst'
- master_doc = 'index'
- project = u'php-annotations'
- copyright = u'2015, Rasmus Schultz'
- version = '1.0.0'
- release = '1.0.0'
- exclude_patterns = ['build']
- pygments_style = 'sphinx'
- highlight_language = 'php'
- htmlhelp_basename = 'php-annotationsdoc'
- latex_documents = [
- ('index', 'php-annotations.tex', u'php-annotations Documentation',
- u'Rasmus Schultz', 'manual'),
- ]
- man_pages = [
- ('index', 'php-annotations', u'php-annotations Documentation',
- [u'Rasmus Schultz'], 1)
- ]
- texinfo_documents = [
- ('index', 'php-annotations', u'php-annotations Documentation',
- u'Rasmus Schultz', 'php-annotations', 'One line description of project.',
- 'Miscellaneous'),
- ]
|