| | |
| | | 'sphinx.ext.doctest', |
| | | 'repoze.sphinx.autointerface', |
| | | 'sphinx.ext.viewcode', |
| | | 'pylons_sphinx_latesturl', |
| | | # 'sphinx.ext.intersphinx' |
| | | ] |
| | | |
| | | |
| | | # Looks for objects in other Pyramid projects |
| | | ## intersphinx_mapping = { |
| | |
| | | if item.endswith('.egg'): |
| | | sys.path.append(os.path.join(parent, item)) |
| | | |
| | | pylons_sphinx_latesturl_base = ( |
| | | 'http://docs.pylonsproject.org/projects/pyramid/en/latest/') |
| | | pylons_sphinx_latesturl_pagename_overrides = { |
| | | # map old pagename -> new pagename |
| | | 'whatsnew-1.0': 'index', |
| | | 'tutorials/gae/index': 'index', |
| | | 'api/chameleon_text': 'api', |
| | | 'api/chameleon_zpt': 'api', |
| | | } |
| | | html_theme_path = ['_themes'] |
| | | html_theme = 'pyramid' |
| | | html_theme_options = dict( |
| | | github_url='https://github.com/Pylons/pyramid', |
| | | latest_url='http://docs.pylonsproject.org/projects/pyramid/en/latest/', |
| | | outdated='true', |
| | | ) |
| | | |
| | | # The style sheet to use for HTML and HTML Help pages. A file of that name |
| | | # must exist either in Sphinx' static/ path, or in one of the custom paths |
| | | # given in html_static_path. |