Skip to content
Snippets Groups Projects
Commit a8eae28f authored by inertia's avatar inertia
Browse files

added strike-through to removed methods

parent 6da5f75e
No related branches found
No related tags found
2 merge requests!126HF26 Changes,!125HF26 Changes
...@@ -3,7 +3,11 @@ Methods: ...@@ -3,7 +3,11 @@ Methods:
{% for sections in include.api_data %} {% for sections in include.api_data %}
{% assign sorted_methods = sections.methods | sort: 'api_method' %} {% assign sorted_methods = sections.methods | sort: 'api_method' %}
{% for method in sorted_methods %} {% for method in sorted_methods %}
<li class="button"><a href="#{{ method.api_method | slug}}">{{method.api_method | split: '.' | last}}</a></li> {% if method.removed %}
<li class="button"><a href="#{{ method.api_method | slug}}"><strike>{{method.api_method | split: '.' | last}}</strike></a></li>
{% else %}
<li class="button"><a href="#{{ method.api_method | slug}}">{{method.api_method | split: '.' | last}}</a></li>
{% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</ul> </ul>
...@@ -32,7 +36,11 @@ Methods: ...@@ -32,7 +36,11 @@ Methods:
<li class="info"><strong><small><a href="{{ search_url | relative_url }}">Related <i class="fas fa-search fa-xs"></i></a></small></strong></li> <li class="info"><strong><small><a href="{{ search_url | relative_url }}">Related <i class="fas fa-search fa-xs"></i></a></small></strong></li>
</ul> </ul>
<h4 id="{{ method.api_method | slug }}">{{method.api_method}} <a href="#{{ method.api_method | slug}}"><i class="fas fa-link fa-xs"></i></a></h4> {% if method.removed %}
<h4 id="{{ method.api_method | slug }}"><strike>{{method.api_method}}</strike> <a href="#{{ method.api_method | slug}}"><i class="fas fa-link fa-xs"></i></a></h4>
{% else %}
<h4 id="{{ method.api_method | slug }}">{{method.api_method}} <a href="#{{ method.api_method | slug}}"><i class="fas fa-link fa-xs"></i></a></h4>
{% endif %}
{{ method.purpose | liquify | markdownify }} {{ method.purpose | liquify | markdownify }}
{% if method.parameter_json %} {% if method.parameter_json %}
<h5 id="{{ method.api_method | slug }}-parameter_json">Query Parameters JSON <a href="#{{ method.api_method | slug}}-parameter_json"><i class="fas fa-link fa-sm"></i></a></h5> <h5 id="{{ method.api_method | slug }}-parameter_json">Query Parameters JSON <a href="#{{ method.api_method | slug}}-parameter_json"><i class="fas fa-link fa-sm"></i></a></h5>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment