Stop using xrefs in page titles

Closes #427
main
Ashley Whetter 4 weeks ago
parent 3b037c7643
commit f23b079e7d

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

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

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

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

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

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