diff --git a/docs/_templates/python/function.rst b/docs/_templates/python/function.rst index 5dee5aa..3d5efd2 100644 --- a/docs/_templates/python/function.rst +++ b/docs/_templates/python/function.rst @@ -1,7 +1,7 @@ {% if obj.display %} {% if is_own_page %} -{{ obj.id }} -{{ "=" * obj.id | length }} +{{ obj.name }} +{{ "=" * obj.name | length }} {% endif %} .. py:function:: {% if is_own_page %}{{ obj.id }}{% else %}{{ obj.short_name }}{% endif %}({{ obj.args }}){% if obj.return_annotation is not none %} -> {{ obj.return_annotation }}{% endif %} diff --git a/docs/_templates/python/method.rst b/docs/_templates/python/method.rst index 12d42de..39d2d54 100644 --- a/docs/_templates/python/method.rst +++ b/docs/_templates/python/method.rst @@ -1,7 +1,7 @@ {% if obj.display %} {% if is_own_page %} -{{ obj.id }} -{{ "=" * obj.id | length }} +{{ obj.name }} +{{ "=" * obj.name | length }} {% endif %} .. py:method:: {% if is_own_page %}{{ obj.id }}{% else %}{{ obj.short_name }}{% endif %}({{ obj.args }}){% if obj.return_annotation is not none %} -> {{ obj.return_annotation }}{% endif %} diff --git a/docs/source/conf.py b/docs/source/conf.py index 6b9f999..cb22057 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -148,11 +148,13 @@ }, "dark_css_variables": { "color-brand-primary": "#fefaee", # Off-white + "color-foreground-primary": "#E6E1D4", "color-brand-content": "#FFB000", # Gold instead of dark blue "color-sidebar-background": "#1A1C1E", "color-sidebar-item-background--hover": "#1e2124", - "color-link": "#FDD378", - "color-link--visited": "#a58abf" + "color-link": "#FFC23E", + "color-highlight-on-target": "#2D222B", + "color-link--visited": "#a58abf", }, }