Skip to content

Commit f23b079

Browse files
committed
Stop using xrefs in page titles
Closes #427
1 parent 3b037c7 commit f23b079

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

autoapi/templates/python/class.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if obj.display %}
22
{% if is_own_page %}
3-
:class:`{{ obj.id }}`
4-
========={{ "=" * obj.id | length }}
3+
{{ obj.id }}
4+
{{ "=" * obj.id | length }}
55

66
{% endif %}
77
{% set visible_children = obj.children|selectattr("display")|list %}

autoapi/templates/python/data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if obj.display %}
22
{% if is_own_page %}
3-
:py:{{ obj.type|truncate(4, True, "", 0) }}:`{{ obj.id }}`
4-
==========={{ "=" * obj.id | length }}
3+
{{ obj.id }}
4+
{{ "=" * obj.id | length }}
55

66
{% endif %}
77
.. py:{{ obj.type }}:: {% if is_own_page %}{{ obj.id }}{% else %}{{ obj.name }}{% endif %}

autoapi/templates/python/function.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if obj.display %}
22
{% if is_own_page %}
3-
:py:func:`{{ obj.id }}`
4-
==========={{ "=" * obj.id | length }}
3+
{{ obj.id }}
4+
{{ "=" * obj.id | length }}
55

66
{% endif %}
77
.. 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 %}

autoapi/templates/python/method.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if obj.display %}
22
{% if is_own_page %}
3-
:py:meth:`{{ obj.id }}`
4-
==========={{ "=" * obj.id | length }}
3+
{{ obj.id }}
4+
{{ "=" * obj.id | length }}
55

66
{% endif %}
77
.. 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 %}

autoapi/templates/python/module.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if obj.display %}
22
{% if is_own_page %}
3-
:py:mod:`{{ obj.id }}`
4-
=========={{ "=" * obj.id|length }}
3+
{{ obj.id }}
4+
{{ "=" * obj.id|length }}
55

66
.. py:module:: {{ obj.name }}
77

autoapi/templates/python/property.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% if obj.display %}
22
{% if is_own_page %}
3-
:py:property:`{{ obj.id }}`
4-
==============={{ "=" * obj.id | length }}
3+
{{ obj.id }}
4+
{{ "=" * obj.id | length }}
55

66
{% endif %}
77
.. py:property:: {% if is_own_page %}{{ obj.id}}{% else %}{{ obj.short_name }}{% endif %}

docs/changes/427.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Stopped using xrefs in page titles

0 commit comments

Comments
 (0)