Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 68 additions & 62 deletions articles/Extensibility/api/Extensibility-API.v1-fv.html
Original file line number Diff line number Diff line change
@@ -1,71 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Extensibility API Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements/styles.min.css" />
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script>
<head>
<meta charset="UTF-8" />
<title>Extensibility API Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<style>
body {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
padding-top: 55px; /* ensures content below fixed header */
}
.api-container {
flex: 1 0 0;
overflow: visible;
}
elements-api {
height: calc(100vh - 55px);
}
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements/styles.min.css" />
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script>

.header-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: #006666;
color: white;
font-family: Arial, sans-serif;
padding: 10px 15px;
display: flex;
align-items: center;
box-shadow: 0 2px 3px rgba(0,0,0,.15);
z-index: 999;
}
<style>
body {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
padding-top: 55px;
/* ensures content below fixed header */
}

.header-bar a {
color: white;
text-decoration: none;
font-size: 12px;
padding: 6px 12px;
border-radius: 5px;
background-color: rgba(255,255,255,0.15);
transition: background-color 0.2s;
}
.api-container {
flex: 1 0 0;
overflow: visible;
}

.header-bar a:hover {
background-color: rgba(255,255,255,0.3);
}
</style>
</head>
<body>
<div class="header-bar">
<a href="Extensibility-API.v1.html">← Back to Documentation</a>
</div>
elements-api {
height: calc(100vh - 55px);
}

.header-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: white;
color: white;
font-family: Arial, sans-serif;
padding: 10px 15px;
display: flex;
align-items: center;
box-shadow: 0 2px 3px rgba(0, 0, 0, .15);
z-index: 999;
}

.header-bar a {
color: white;
background-color: #6f45d9;
text-decoration: none;
font-size: 12px;
padding: 6px 12px;
border-radius: 5px;
transition: background-color 0.2s;
}

.header-bar a:hover {
background-color: #6f45d9;
}
</style>
</head>

<body>
<div class="header-bar">
<a href="Extensibility-API.v1.html">← Back to Documentation</a>
</div>

<elements-api id="docs" router="hash" layout="sidebar" hideTryIt="true"></elements-api>
<script>
(async () => {
const docs = document.getElementById('docs');
const text = await fetch('Extensibility-API.v1.json').then(res => res.text())
docs.apiDescriptionDocument = text;
})();
</script>
</body>

<elements-api id="docs" router="hash" layout="sidebar" hideTryIt="true"></elements-api>
<script>
(async () => {
const docs = document.getElementById('docs');
const text = await fetch('Extensibility-API.v1.json').then(res => res.text())
docs.apiDescriptionDocument = text;
})();
</script>
</body>
</html>
7 changes: 6 additions & 1 deletion articles/Extensibility/api/Extensibility-API.v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ _disableToc: false
---

<div style="margin-bottom:15px;padding:10px;border-bottom:1px dashed #ccc;">
<a href="Extensibility-API.v1-fv.html" style="display:inline-block;padding: 8px 15px; background-color: #006666; color: white; text-decoration: none; border-radius: 5px;margin-bottom:10px;">
<a href="Extensibility-API.v1-fv.html" style="display:inline-block;padding: 8px 15px; background-color: #6f45d9; color: white; text-decoration: none; border-radius: 5px;margin-bottom:10px;">
⤢ View Documentation Fullscreen
</a>
<div style="font-size: 12px; color: #666; margin-top: 5px;">
<em>API examples are only available when viewing in full-screen mode.</em>
</div>
</div>

<div id="stoplight-api-container" style="margin-top:20px;"></div>
Expand All @@ -20,4 +23,6 @@ _disableToc: false
apiDescriptionUrl="Extensibility-API.v1.json"
router="memory"
layout="stacked"
hideTryIt="true"
hideTryItPanel="true"
></elements-api>
2 changes: 1 addition & 1 deletion articles/Extensibility/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@
- name: APIs
items:
- name: Extensibility API
href: api/Extensibility-API.v1-fv.html
href: api/Extensibility-API.v1.md
5 changes: 5 additions & 0 deletions articles/LCPublicAPI/api/Data-Bridge-API.v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ _disableToc: false
<a href="Data-Bridge-API.v1-fv.html" style="display:inline-block;padding: 8px 15px; background-color: #6f45d9; color: white; text-decoration: none; border-radius: 5px;margin-bottom:10px;">
⤢ View Documentation Fullscreen
</a>
<div style="font-size: 12px; color: #666; margin-top: 5px;">
<em>API examples are only available when viewing in full-screen mode.</em>
</div>
</div>

<div id="stoplight-api-container" style="margin-top:20px;"></div>
Expand All @@ -20,4 +23,6 @@ _disableToc: false
apiDescriptionUrl="Data-Bridge-API.v1.json"
router="memory"
layout="stacked"
hideTryIt="true"
hideTryItPanel="true"
></elements-api>
5 changes: 5 additions & 0 deletions articles/LCPublicAPI/api/Global-Public-API.v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ _disableToc: false
<a href="Global-Public-API.v1-fv.html" style="display:inline-block;padding: 8px 15px; background-color: #6f45d9; color: white; text-decoration: none; border-radius: 5px;margin-bottom:10px;">
⤢ View Documentation Fullscreen
</a>
<div style="font-size: 12px; color: #666; margin-top: 5px;">
<em>API examples are only available when viewing in full-screen mode.</em>
</div>
</div>

<div id="stoplight-api-container" style="margin-top:20px;"></div>
Expand All @@ -20,4 +23,6 @@ _disableToc: false
apiDescriptionUrl="Global-Public-API.v1.json"
router="memory"
layout="stacked"
hideTryIt="true"
hideTryItPanel="true"
></elements-api>
5 changes: 5 additions & 0 deletions articles/LCPublicAPI/api/Public-API.v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ _disableToc: false
<a href="Public-API.v1-fv.html" style="display:inline-block;padding: 8px 15px; background-color: #6f45d9; color: white; text-decoration: none; border-radius: 5px;margin-bottom:10px;">
⤢ View Documentation Fullscreen
</a>
<div style="font-size: 12px; color: #666; margin-top: 5px;">
<em>API examples are only available when viewing in full-screen mode.</em>
</div>
</div>

<div id="stoplight-api-container" style="margin-top:20px;"></div>
Expand All @@ -20,4 +23,6 @@ _disableToc: false
apiDescriptionUrl="Public-API.v1.json"
router="memory"
layout="stacked"
hideTryIt="true"
hideTryItPanel="true"
></elements-api>
7 changes: 6 additions & 1 deletion articles/LCPublicAPI/api/Webhooks.v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ _disableToc: false
<div style="margin-bottom:15px;padding:10px;border-bottom:1px dashed #ccc;">
<a href="Webhooks.v1-fv.html" style="display:inline-block;padding: 8px 15px; background-color: #6f45d9; color: white; text-decoration: none; border-radius: 5px;margin-bottom:10px;">
⤢ View Documentation Fullscreen
</a>
</a>
<div style="font-size: 12px; color: #666; margin-top: 5px;">
<em>API examples are only available when viewing in full-screen mode.</em>
</div>
</div>

<div id="stoplight-api-container" style="margin-top:20px;"></div>
Expand All @@ -20,4 +23,6 @@ _disableToc: false
apiDescriptionUrl="Webhooks.v1.json"
router="memory"
layout="stacked"
hideTryIt="true"
hideTryItPanel="true"
></elements-api>