Skip to content

Commit

Permalink
Fix links in "See also" section of the API docs. (#291)
Browse files Browse the repository at this point in the history
Co-authored-by: Priyansh Garg <[email protected]>
  • Loading branch information
ParmarKrishna and garg3133 authored Mar 28, 2024
1 parent 178074e commit 2eb2f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/api-method.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ npx nightwatch <%- method.exampleLink %></code></pre>
<% if (link.startsWith('http')) { %>
<li><code><a href="<%- link %>"><%= link %></a></code></li>
<% } else { %>
<li><code><a href="<%- appSettings.baseUrl.replace(/\/$/, '') -%>/api/<%- link.split('.').join('/') %>.html"><%= link %></a></code></li>
<li><code><a href="/api/<%- link.split('.').join('/') %>.html"><%= link %></a></code></li>
<% } %>
<% } %>
</ul>
Expand Down

0 comments on commit 2eb2f9a

Please sign in to comment.