Stop using xrefs in page titles

Closes #427
main
Ashley Whetter 1 month ago
parent 3b037c7643
commit f23b079e7d

@ -1,7 +1,7 @@
{% if obj.display %} {% if obj.display %}
{% if is_own_page %} {% if is_own_page %}
:class:`{{ obj.id }}` {{ obj.id }}
========={{ "=" * obj.id | length }} {{ "=" * obj.id | length }}
{% endif %} {% endif %}
{% set visible_children = obj.children|selectattr("display")|list %} {% set visible_children = obj.children|selectattr("display")|list %}

@ -1,7 +1,7 @@
{% if obj.display %} {% if obj.display %}
{% if is_own_page %} {% if is_own_page %}
:py:{{ obj.type|truncate(4, True, "", 0) }}:`{{ obj.id }}` {{ obj.id }}
==========={{ "=" * obj.id | length }} {{ "=" * obj.id | length }}
{% endif %} {% endif %}
.. py:{{ obj.type }}:: {% if is_own_page %}{{ obj.id }}{% else %}{{ obj.name }}{% endif %} .. py:{{ obj.type }}:: {% if is_own_page %}{{ obj.id }}{% else %}{{ obj.name }}{% endif %}

@ -1,7 +1,7 @@
{% if obj.display %} {% if obj.display %}
{% if is_own_page %} {% if is_own_page %}
:py:func:`{{ obj.id }}` {{ obj.id }}
==========={{ "=" * obj.id | length }} {{ "=" * obj.id | length }}
{% endif %} {% 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 %} .. 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 %}

@ -1,7 +1,7 @@
{% if obj.display %} {% if obj.display %}
{% if is_own_page %} {% if is_own_page %}
:py:meth:`{{ obj.id }}` {{ obj.id }}
==========={{ "=" * obj.id | length }} {{ "=" * obj.id | length }}
{% endif %} {% 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 %} .. 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 %}

@ -1,7 +1,7 @@
{% if obj.display %} {% if obj.display %}
{% if is_own_page %} {% if is_own_page %}
:py:mod:`{{ obj.id }}` {{ obj.id }}
=========={{ "=" * obj.id|length }} {{ "=" * obj.id|length }}
.. py:module:: {{ obj.name }} .. py:module:: {{ obj.name }}

@ -1,7 +1,7 @@
{% if obj.display %} {% if obj.display %}
{% if is_own_page %} {% if is_own_page %}
:py:property:`{{ obj.id }}` {{ obj.id }}
==============={{ "=" * obj.id | length }} {{ "=" * obj.id | length }}
{% endif %} {% endif %}
.. py:property:: {% if is_own_page %}{{ obj.id}}{% else %}{{ obj.short_name }}{% endif %} .. py:property:: {% if is_own_page %}{{ obj.id}}{% else %}{{ obj.short_name }}{% endif %}

@ -0,0 +1 @@
Stopped using xrefs in page titles
Loading…
Cancel
Save