|
35 | 35 | # ones. |
36 | 36 | extensions = [ |
37 | 37 | 'sphinx.ext.autodoc', |
| 38 | + 'sphinx.ext.intersphinx', |
| 39 | + 'sphinx.ext.extlinks', # enables external links with a key |
38 | 40 | 'sphinx.ext.viewcode', |
39 | 41 | 'sphinx.ext.imgmath', |
40 | 42 | 'sphinx.ext.napoleon', |
41 | 43 | 'sphinx.ext.autosummary', |
42 | 44 | 'nbsphinx' |
43 | | - |
44 | 45 | ] |
45 | 46 |
|
| 47 | +autodoc_member_order = 'bysource' |
| 48 | + |
| 49 | +extlinks = {'pandas':('http://pandas.pydata.org/pandas-docs/stable/reference/%s.html', |
| 50 | + 'pandas.') |
| 51 | + } |
| 52 | +# Example configuration for intersphinx: refer to the Python standard library. |
| 53 | +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} |
| 54 | + |
46 | 55 | # |
47 | 56 | autoclass_content = 'both' |
48 | 57 |
|
|
61 | 70 | # General information about the project. |
62 | 71 | project = u'windpowerlib' |
63 | 72 | copyright = u'2016, oemof developer group' |
64 | | -author = u'oemof developing group' |
| 73 | +author = u'oemof developer group' |
65 | 74 |
|
66 | 75 | import windpowerlib |
67 | 76 |
|
|
117 | 126 | # -- Options for HTML output ---------------------------------------------- |
118 | 127 | # The theme to use for HTML and HTML Help pages. See the documentation for |
119 | 128 | # a list of builtin themes. |
120 | | -on_rtd = os.environ.get('READTHEDOCS') == 'True' |
121 | | -if on_rtd: |
122 | | - html_theme = 'default' |
123 | | -else: |
124 | | - html_theme = 'bizstyle' |
| 129 | +import sphinx_rtd_theme |
| 130 | +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
| 131 | +html_theme = 'sphinx_rtd_theme' |
125 | 132 |
|
126 | 133 | # Theme options are theme-specific and customize the look and feel of a theme |
127 | 134 | # further. For a list of options available for each theme, see the |
|
285 | 292 |
|
286 | 293 | # Bibliographic Dublin Core info. |
287 | 294 | epub_title = u'windpowerlib' |
288 | | -epub_author = u'oemof developing group' |
289 | | -epub_publisher = u'oemof developing group' |
290 | | -epub_copyright = u'2016, oemof developing group' |
| 295 | +epub_author = u'oemof developer group' |
| 296 | +epub_publisher = u'oemof developer group' |
| 297 | +epub_copyright = u'2016, oemof developer group' |
291 | 298 |
|
292 | 299 | # The basename for the epub file. It defaults to the project name. |
293 | 300 | #epub_basename = u'pahesmf' |
|
0 commit comments