* update autolinkHeadings to use Doctocat link header style * fix header link test * update graphql/rest rendering to use doctocat header link * fix: miniToc issue with stray anchor Co-authored-by: Rachael Sewell <rachmari@github.com>
26 lines
598 B
HTML
26 lines
598 B
HTML
<div>
|
|
<div>
|
|
<h2 id="{{ item.id }}">
|
|
<a href="#{{ item.id }}" class="doctocat-link">{% include doctocat-link-icon %}</a>
|
|
{{- item.name -}}
|
|
</h2>
|
|
{{ item.description }}
|
|
</div>
|
|
|
|
<div>
|
|
{% include graphql-preview %} {% include graphql-deprecation %}
|
|
|
|
<h4>{% data ui.products.graphql.reference.possible_types %}</h4>
|
|
<ul>
|
|
{% for possibleType in item.possibleTypes %}
|
|
<li>
|
|
<a href="/{{ currentLanguage }}{{ possibleType.href }}"
|
|
>{{ possibleType.name }}</a
|
|
>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<hr />
|
|
</div>
|