Skip to content

Commit

Permalink
Workaround for RTD not showing colons for function args (#1150)
Browse files Browse the repository at this point in the history
* Remove unwanted fsspec_loop link in docs

* Fix readthedocs config

* Workaround for RTD not showing colons for function args
  • Loading branch information
ianthomas23 authored Jan 10, 2023
1 parent 2eaa57a commit ad0c3c6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.classifier:before {
font-style: normal;
margin: 0.5em;
content: ":";
}
2 changes: 0 additions & 2 deletions docs/source/async.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,3 @@ available as the attribute ``.loop``.
.. autofunction:: fsspec.asyn.sync_wrapper

.. autofunction:: fsspec.asyn.get_loop

.. autofunction:: fsspec.asyn.fsspec_loop
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
html_static_path = ["_static"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand All @@ -128,6 +128,10 @@
]
}

# Custom CSS file to override read the docs default CSS.
# Contains workaround for issue #790.
html_css_files = ["custom.css"]


# -- Options for HTMLHelp output ------------------------------------------

Expand Down
3 changes: 1 addition & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ python:
- method: pip
path: .


sphinx:
configuration: docs/conf.py
configuration: docs/source/conf.py
fail_on_warning: true

0 comments on commit ad0c3c6

Please sign in to comment.