Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
devportal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
devportal
Commits
a8eae28f
Commit
a8eae28f
authored
2 years ago
by
inertia
Browse files
Options
Downloads
Patches
Plain Diff
added strike-through to removed methods
parent
6da5f75e
No related branches found
Branches containing commit
No related tags found
2 merge requests
!126
HF26 Changes
,
!125
HF26 Changes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_includes/api-template.html
+10
-2
10 additions, 2 deletions
_includes/api-template.html
with
10 additions
and
2 deletions
_includes/api-template.html
+
10
−
2
View file @
a8eae28f
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment