Skip to content

Commit

Permalink
Merge pull request #72 from jackdos/doc-fix
Browse files Browse the repository at this point in the history
DOC: Updated swagger default html titles to be more descriptive
  • Loading branch information
carlwilson authored Jul 12, 2023
2 parents 6459e73 + e997375 commit 07baa49
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/_layouts/forward.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">

{% assign time = 0 %}
{% assign redirect_target = "/schema/" | append: site.data.par.version | append: page.target %}
{% assign redirect_target = page.target | append: site.data.par.version %}

{% if page.time %}
{% assign time = page.time %}
Expand Down
2 changes: 1 addition & 1 deletion docs/api/1.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Load the latest Swagger UI code and style from npm using unpkg.com -->
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3/swagger-ui.css"/>
<title>My New API</title>
<title>PAR API v1.0</title>
</head>
<body>
<div id="swagger-ui"></div> <!-- Div to hold the UI component -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/1.1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Load the latest Swagger UI code and style from npm using unpkg.com -->
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3/swagger-ui.css"/>
<title>My New API</title>
<title>PAR API v1.1</title>
</head>
<body>
<div id="swagger-ui"></div> <!-- Div to hold the UI component -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/1.2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Load the latest Swagger UI code and style from npm using unpkg.com -->
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@3/swagger-ui.css"/>
<title>My New API</title>
<title>PAR API v1.2</title>
</head>
<body>
<div id="swagger-ui"></div> <!-- Div to hold the UI component -->
Expand Down
2 changes: 1 addition & 1 deletion docs/api/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
layout: forward
target: ./1.2
target: ./
---

0 comments on commit 07baa49

Please sign in to comment.