|
19 | 19 | # |
20 | 20 | import os |
21 | 21 | import sys |
22 | | -sys.path.insert(0, '/Users/maximmillen/git/packages/sfsimodels/') |
| 22 | +from datetime import date |
| 23 | + |
| 24 | +file_loc = os.path.split(__file__)[0] |
| 25 | +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(file_loc), '.'))) |
| 26 | + |
| 27 | +import sfsimodels |
| 28 | +# -- Project information ----------------------------------------------------- |
| 29 | + |
| 30 | +project = sfsimodels.__about__.__project__ |
| 31 | +author = sfsimodels.__about__.__author__ |
| 32 | +copyright = u'Copyright 2016 - {0} {1}'.format(date.today().year, author) |
| 33 | + |
| 34 | +# The short X.Y version |
| 35 | +version = sfsimodels.__about__.__version__ |
| 36 | +# The full version, including alpha/beta/rc tags |
| 37 | +release = version |
23 | 38 |
|
24 | 39 | import mock |
25 | 40 |
|
|
37 | 52 | # Add any Sphinx extension module names here, as strings. They can be |
38 | 53 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
39 | 54 | # ones. |
40 | | -extensions = ['sphinx.ext.autodoc', |
| 55 | +extensions = [ |
| 56 | + 'sphinx.ext.autodoc', |
41 | 57 | 'sphinx.ext.doctest', |
42 | 58 | 'sphinx.ext.intersphinx', |
43 | 59 | 'sphinx.ext.todo', |
44 | 60 | 'sphinx.ext.coverage', |
| 61 | + 'sphinx.ext.napoleon', |
45 | 62 | 'sphinx.ext.mathjax', |
46 | 63 | 'sphinx.ext.ifconfig', |
47 | 64 | 'sphinx.ext.viewcode' |
|
61 | 78 |
|
62 | 79 | # General information about the project. |
63 | 80 | project = 'sfsimodels' |
64 | | -copyright = '2018, Maxim Millen' |
65 | 81 | author = 'Maxim Millen' |
66 | 82 |
|
67 | 83 | # The version info for the project you're documenting, acts as replacement for |
|
71 | 87 | # The short X.Y version. |
72 | 88 | version = '0.6.3' |
73 | 89 | # The full version, including alpha/beta/rc tags. |
74 | | -release = '0.6.3' |
75 | 90 |
|
76 | 91 | # The language for content autogenerated by Sphinx. Refer to documentation |
77 | 92 | # for a list of supported languages. |
|
88 | 103 | # The name of the Pygments (syntax highlighting) style to use. |
89 | 104 | pygments_style = 'sphinx' |
90 | 105 |
|
91 | | -# If true, `todo` and `todoList` produce output, else they produce nothing. |
| 106 | +# If true, `to do` and `todoList` produce output, else they produce nothing. |
92 | 107 | todo_include_todos = True |
93 | 108 |
|
94 | 109 |
|
|
97 | 112 | # The theme to use for HTML and HTML Help pages. See the documentation for |
98 | 113 | # a list of builtin themes. |
99 | 114 | # |
100 | | -html_theme = 'alabaster' |
| 115 | +html_theme = 'nature' # Switch to an ECP theme |
101 | 116 |
|
102 | 117 | # Theme options are theme-specific and customize the look and feel of a theme |
103 | 118 | # further. For a list of options available for each theme, see the |
|
0 commit comments