19
19
# -- Project information -----------------------------------------------------
20
20
21
21
project = 'csaps'
22
- copyright = '2017-2025, Eugene Prilepin' # noqa
23
22
author = 'Eugene Prilepin'
23
+ copyright = f'2017-2025, { author } ' # noqa
24
24
25
25
26
26
def _get_version ():
@@ -47,7 +47,9 @@ def _get_version():
47
47
'm2r2' ,
48
48
]
49
49
50
- intersphinx_mapping = {'scipy' : ('https://docs.scipy.org/doc/scipy/reference/' , None )}
50
+ intersphinx_mapping = {
51
+ 'scipy' : ('https://docs.scipy.org/doc/scipy/reference/' , None ),
52
+ }
51
53
52
54
# Extension settings
53
55
plot_apply_rcparams = True
@@ -69,7 +71,7 @@ def _get_version():
69
71
from mpl_toolkits.mplot3d import Axes3D
70
72
from csaps import csaps
71
73
72
- plt.style.use('ggplot ')
74
+ plt.style.use('csaps.mplstyle ')
73
75
74
76
def univariate_data(n=25, seed=1234):
75
77
np.random.seed(seed)
@@ -95,23 +97,22 @@ def univariate_data(n=25, seed=1234):
95
97
96
98
# The theme to use for HTML and HTML Help pages. See the documentation for
97
99
# a list of builtin themes.
98
- #
99
- html_theme = 'alabaster'
100
+ html_theme = 'furo'
100
101
101
102
# Add any paths that contain custom static files (such as style sheets) here,
102
103
# relative to this directory. They are copied after the builtin static files,
103
104
# so a file named "default.css" will overwrite the builtin "default.css".
104
105
html_static_path = ['_static' ]
105
106
107
+ pygments_style = 'tango'
108
+ pygments_dark_style = 'stata-dark'
109
+
106
110
html_theme_options = {
107
- 'fixed_sidebar' : 'true' ,
108
- 'show_powered_by' : 'false' ,
109
- 'description' : 'Cubic spline approximation (smoothing)' ,
110
- 'github_user' : 'espdev' ,
111
- 'github_repo' : 'csaps' ,
112
- 'github_type' : 'star' ,
113
- 'extra_nav_links' : {
114
- 'GitHub repository' : 'https://github.com/espdev/csaps' ,
115
- 'PyPI' : 'https://pypi.org/project/csaps' ,
116
- },
111
+ 'light_logo' : 'logo.png' ,
112
+ 'dark_logo' : 'logo-dark-mode.png' ,
113
+ 'sidebar_hide_name' : True ,
114
+ 'source_repository' : 'https://github.com/espdev/csaps' ,
115
+ 'source_branch' : 'master' ,
116
+ 'source_directory' : 'docs/' ,
117
+ 'top_of_page_buttons' : ['view' ],
117
118
}
0 commit comments