Skip to content

Commit 823075e

Browse files
Sets documentation theme color attribute (#669)
* Sets documentation theme color attribute "It will be shown as the hover color for links etc" Reference: https://sphinx-typlog-theme.readthedocs.io/en/latest/options.html#color * Fixes `interface.rst` The `Laws` sub-section of `Bindable` section was separated of it
1 parent ec2d191 commit 823075e

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def _get_project_meta():
165165
),
166166
'github_user': 'dry-python',
167167
'github_repo': 'returns',
168+
'color': '#E8371A',
168169
}
169170

170171
# Add any paths that contain custom static files (such as style sheets) here,

docs/pages/interfaces.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -239,21 +239,6 @@ us to create our custom bindable.
239239
>>> bag_of_peanuts: Bag[Peanuts] = Bag(Peanuts(10))
240240
>>> assert bag_of_peanuts.bind(get_half) == Bag(Peanuts(5))
241241
242-
243-
Applicative
244-
-----------
245-
246-
.. currentmodule:: returns.interfaces.applicative
247-
248-
Laws
249-
~~~~
250-
251-
252-
Container
253-
---------
254-
255-
.. currentmodule:: returns.interfaces.container
256-
257242
Laws
258243
~~~~
259244

@@ -301,6 +286,21 @@ respect three new laws.
301286
... )
302287
303288
289+
Applicative
290+
-----------
291+
292+
.. currentmodule:: returns.interfaces.applicative
293+
294+
Laws
295+
~~~~
296+
297+
298+
Container
299+
---------
300+
301+
.. currentmodule:: returns.interfaces.container
302+
303+
304304
More!
305305
-----
306306

0 commit comments

Comments
 (0)