Skip to content

Commit ad0c3c6

Browse files
authored
Workaround for RTD not showing colons for function args (#1150)
* Remove unwanted fsspec_loop link in docs * Fix readthedocs config * Workaround for RTD not showing colons for function args
1 parent 2eaa57a commit ad0c3c6

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

‎docs/source/_static/custom.css‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.classifier:before {
2+
font-style: normal;
3+
margin: 0.5em;
4+
content: ":";
5+
}

‎docs/source/async.rst‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,3 @@ available as the attribute ``.loop``.
147147
.. autofunction:: fsspec.asyn.sync_wrapper
148148

149149
.. autofunction:: fsspec.asyn.get_loop
150-
151-
.. autofunction:: fsspec.asyn.fsspec_loop

‎docs/source/conf.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
# Add any paths that contain custom static files (such as style sheets) here,
115115
# relative to this directory. They are copied after the builtin static files,
116116
# so a file named "default.css" will overwrite the builtin "default.css".
117-
html_static_path = []
117+
html_static_path = ["_static"]
118118

119119
# Custom sidebar templates, must be a dictionary that maps document names
120120
# to template names.
@@ -128,6 +128,10 @@
128128
]
129129
}
130130

131+
# Custom CSS file to override read the docs default CSS.
132+
# Contains workaround for issue #790.
133+
html_css_files = ["custom.css"]
134+
131135

132136
# -- Options for HTMLHelp output ------------------------------------------
133137

‎readthedocs.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ python:
1313
- method: pip
1414
path: .
1515

16-
1716
sphinx:
18-
configuration: docs/conf.py
17+
configuration: docs/source/conf.py
1918
fail_on_warning: true

0 commit comments

Comments
 (0)