1919# -- Project information -----------------------------------------------------
2020
2121project = 'csaps'
22- copyright = '2017-2025, Eugene Prilepin' # noqa
2322author = 'Eugene Prilepin'
23+ copyright = f'2017-2025, { author } ' # noqa
2424
2525
2626def _get_version ():
@@ -47,7 +47,9 @@ def _get_version():
4747 'm2r2' ,
4848]
4949
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+ }
5153
5254# Extension settings
5355plot_apply_rcparams = True
@@ -69,7 +71,7 @@ def _get_version():
6971from mpl_toolkits.mplot3d import Axes3D
7072from csaps import csaps
7173
72- plt.style.use('ggplot ')
74+ plt.style.use('csaps.mplstyle ')
7375
7476def univariate_data(n=25, seed=1234):
7577 np.random.seed(seed)
@@ -95,23 +97,22 @@ def univariate_data(n=25, seed=1234):
9597
9698# The theme to use for HTML and HTML Help pages. See the documentation for
9799# a list of builtin themes.
98- #
99- html_theme = 'alabaster'
100+ html_theme = 'furo'
100101
101102# Add any paths that contain custom static files (such as style sheets) here,
102103# relative to this directory. They are copied after the builtin static files,
103104# so a file named "default.css" will overwrite the builtin "default.css".
104105html_static_path = ['_static' ]
105106
107+ pygments_style = 'tango'
108+ pygments_dark_style = 'stata-dark'
109+
106110html_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' ],
117118}
0 commit comments