Skip to content

Commit 97a89f1

Browse files
committed
fix #849: workaround to fix the missing space between parameters name and type in API doc
1 parent 49efead commit 97a89f1

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

doc/source/_static/custom.css

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.classifier {
2+
font-style: oblique;
3+
}
4+
5+
/*
6+
Workaround for an incompatibility between read the docs theme and sphinx 2.0+
7+
See: https://github.com/larray-project/larray/issues/849
8+
*/
9+
.classifier:before {
10+
font-style: normal;
11+
margin: 0.5em;
12+
content: ":";
13+
}

doc/source/changes/version_0_32_2.rst.inc

+2
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ Fixes
1212

1313
* fixed using Pandas >= 1.0 (closes :issue:`845`).
1414

15+
* fixed the missing space between parameters name and type in API documentation (closes :issue:`849`).
16+
1517
* fixed a few issues for Python 2.7 and/or Linux.

doc/source/conf.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104

105105
# General information about the project.
106106
project = 'LArray'
107-
copyright = '2014-2017, Gaëtan de Menten, Geert Bryon, Johan Duyck, Alix Damman'
107+
copyright = '2014-2020, Gaëtan de Menten, Geert Bryon, Johan Duyck, Alix Damman'
108108

109109
# The version info for the project you're documenting, acts as replacement for
110110
# |version| and |release|, also used in various other places throughout the
@@ -190,6 +190,15 @@
190190
# so a file named "default.css" will overwrite the builtin "default.css".
191191
html_static_path = ['_static']
192192

193+
# Workaround for an incompatibility between read the docs theme and sphinx 2.0+.
194+
# See: https://github.com/larray-project/larray/issues/849
195+
196+
# These paths are either relative to html_static_path
197+
# or fully qualified paths (eg. https://...)
198+
html_css_files = [
199+
'custom.css',
200+
]
201+
193202
# Add any extra paths that contain custom files (such as robots.txt or
194203
# .htaccess) here, relative to this directory. These files are copied
195204
# directly to the root of the documentation.

0 commit comments

Comments
 (0)