Skip to content

Commit

Permalink
Merge pull request #206 from folio-org/FOLIO-1253-exclude-view2-raml1
Browse files Browse the repository at this point in the history
FOLIO-1253 api-docs exclude view2 raml1
  • Loading branch information
dcrossleyau committed Jun 8, 2018
2 parents a21c16d + 7a3e6df commit e1ed07d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions _data/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ mod-tags:
mod-kb-ebsco:
- label: null
directory: ramls
version1: true
files:
- eholdings
excludes:
Expand Down
3 changes: 2 additions & 1 deletion reference/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ access the functionality provided by these important core modules.
{%- for doc in docset.files -%}
{% capture urlDoc1 %}{{ urlAws }}/{{ repo[0] }}/{% if docset.label %}{{ docset.label }}/{% endif %}{{ doc }}.html{% endcapture %}
{% capture urlDoc2 %}{{ urlAws }}/{{ repo[0] }}/{% if docset.label %}{{ docset.label }}/{% endif %}2/{{ doc }}.html{% endcapture %}
{% capture view2 %}{% unless docset.version1 %}<a href="{{ urlDoc2 }}">view-2</a>{% endunless %}{% endcapture %}
{% capture urlRaml %}{{ urlGithub }}/{{ repo[0] }}/blob/master/{{ docset.directory }}/{{ doc }}.raml{% endcapture %}
<tr>
<td> {{ docset.label }} </td>
<td> <a href="{{ urlRaml }}">{{ doc }}</a> </td>
<td> <a href="{{ urlDoc1 }}">view-1</a> </td>
<td> <a href="{{ urlDoc2 }}">view-2</a> </td>
<td> {{ view2 }} </td>
</tr>
{%- endfor -%}
{%- endfor %}
Expand Down

0 comments on commit e1ed07d

Please sign in to comment.