Skip to content

Commit

Permalink
ci: refactor: Rework page titles (#1251)
Browse files Browse the repository at this point in the history
Signed-off-by: edgex-jenkins <[email protected]>
  • Loading branch information
edgex-jenkins committed Oct 18, 2023
1 parent 11ad3b1 commit 8183d0c
Show file tree
Hide file tree
Showing 247 changed files with 3,628 additions and 1,120 deletions.
4 changes: 2 additions & 2 deletions 3.1/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@


<li class="md-nav__item">
<a href="/3.1/microservices/core/data/APIReference/" class="md-nav__link">
<a href="/3.1/microservices/core/data/ApiReference/" class="md-nav__link">
API Reference
</a>
</li>
Expand Down Expand Up @@ -4118,7 +4118,7 @@


<li class="md-nav__item">
<a href="/3.1/api/core/Ch-APICoreData/" class="md-nav__link">
<a href="/3.1/microservices/core/data/ApiReference/" class="md-nav__link">
Core Data
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions 3.1/V3TopLevelMigration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1883,7 +1883,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../api/core/Ch-APICoreData/">
<a class="md-nav__link" href="../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions 3.1/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1743,7 +1743,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../api/core/Ch-APICoreData/">
<a class="md-nav__link" href="../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions 3.1/api/Ch-APIIntroduction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1643,7 +1643,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../core/Ch-APICoreData/">
<a class="md-nav__link" href="../../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down
4 changes: 2 additions & 2 deletions 3.1/api/applications/Ch-APIRulesEngine/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../../../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1642,7 +1642,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../../core/Ch-APICoreData/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down
10 changes: 5 additions & 5 deletions 3.1/api/core/Ch-APICoreCommand/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta content="Michael Johanson" name="author"/>
<link href="https://docs.edgexfoundry.org/3.1/api/core/Ch-APICoreCommand/" rel="canonical"/>
<link href="../../Ch-APIIntroduction/" rel="prev"/>
<link href="../Ch-APICoreData/" rel="next"/>
<link href="../../../microservices/core/data/ApiReference/" rel="next"/>
<link href="../../../assets/logo_edgex.png" rel="icon"/>
<meta content="mkdocs-1.5.3, mkdocs-material-9.1.19" name="generator"/>
<title>Core Command - EdgeX Foundry Documentation</title>
Expand Down Expand Up @@ -401,7 +401,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../../../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1660,7 +1660,7 @@
</nav>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../Ch-APICoreData/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down Expand Up @@ -1844,7 +1844,7 @@ <h1 id="core-command">Core Command</h1>
dimmer light.</li>
</ul>
<h2 id="swagger">Swagger</h2>
<p><iframe class="swagger-ui-iframe" frameborder="0" id="67adfd01" src="swagger-67adfd01.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe class="swagger-ui-iframe" frameborder="0" id="c08722e6" src="swagger-c08722e6.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
</div>
</div>
Expand All @@ -1864,7 +1864,7 @@ <h2 id="swagger">Swagger</h2>
</div>
</div>
</a>
<a aria-label="Next: Core Data" class="md-footer__link md-footer__link--next" href="../Ch-APICoreData/" rel="next">
<a aria-label="Next: Core Data" class="md-footer__link md-footer__link--next" href="../../../microservices/core/data/ApiReference/" rel="next">
<div class="md-footer__title">
<span class="md-footer__direction">
Next
Expand Down
120 changes: 120 additions & 0 deletions 3.1/api/core/Ch-APICoreCommand/swagger-c08722e6.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="../../../assets/stylesheets/swagger-ui.css" />
<link rel="stylesheet" type="text/css" id="slate-css" media="none" href="../../../assets/stylesheets/swagger-ui-dark.css" />

</head>

<body style="overflow:hidden;background: ;">
<div id="swagger-ui"></div>
<script src="../../../assets/javascripts/swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="../../../assets/javascripts/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script>
window.onload = function () {
window.ui = SwaggerUIBundle({
dom_id: "#swagger-ui",
onComplete: onComplete,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],

url: "https://raw.githubusercontent.com/edgexfoundry/edgex-go/main/openapi/v3/core-command.yaml",


"oauth2RedirectUrl": new URL("../../../assets/swagger-ui/oauth2-redirect.html",window.location.href).href,

"validatorUrl": "none",

"docExpansion": "list",
"filter": false,
"tryItOutEnabled": false,
"supportedSubmitMethods": [
"get",
"put",
"post",
"delete",
"options",
"head",
"patch",
"trace"
],
"validatorUrl": "none",
"extra_css": [],
"dark_scheme_name": "slate",
"syntaxHighlight.theme": "agate"

})



const scheme = parent.scheme
if (scheme === "slate") {
enable_dark_mode();
}
}

enable_dark_mode = function(){
document.getElementById("slate-css").media = ""
}

disable_dark_mode = function(){
document.getElementById("slate-css").media = "none"
}

const resize_ob = new ResizeObserver(function(entries) {
parent.update_swagger_ui_iframe_height("c08722e6");
});

// start observing for resizing
resize_ob.observe(document.querySelector("body"));

// authorize modal position
var modal_top = 0;

const mutation_ob = new MutationObserver(function (mutations) {
if(mutations && mutations[0].addedNodes && mutations[0].addedNodes.length > 0){
update_modal_top()
}
});

onComplete = function(){
// start observing for auth-wrapper after Swagger UI loaded
const div = document.querySelector("div.auth-wrapper");
if(div){
mutation_ob.observe(div, {
childList: true,
});
}
}

update_top_val = function(top){
modal_top = top
update_modal_top()
}

update_modal_top = function(){
let modal_list = document.getElementsByClassName('modal-ux')
if(modal_list.length > 0){
let modal = modal_list.item(0)
const modal_height = modal.offsetHeight
const padding = 60
min = parseInt(modal_height/2 + padding)
max = document.body.scrollHeight - min + padding
if (modal_top < min) {
modal.style.top = `${min}px`
} else if (modal_top > max) {
modal.style.top = `${max}px`
} else {
modal.style.top = `${modal_top}px`
}
}
}
</script>
</body>

</html>
4 changes: 2 additions & 2 deletions 3.1/api/core/Ch-APICoreConfigurationAndRegistry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../../../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1642,7 +1642,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../Ch-APICoreData/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down
10 changes: 5 additions & 5 deletions 3.1/api/core/Ch-APICoreMetadata/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta content="Documentation for use of EdgeX Foundry" name="description"/>
<meta content="Michael Johanson" name="author"/>
<link href="https://docs.edgexfoundry.org/3.1/api/core/Ch-APICoreMetadata/" rel="canonical"/>
<link href="../Ch-APICoreData/" rel="prev"/>
<link href="../../../microservices/core/data/ApiReference/" rel="prev"/>
<link href="../Ch-APICoreConfigurationAndRegistry/" rel="next"/>
<link href="../../../assets/logo_edgex.png" rel="icon"/>
<meta content="mkdocs-1.5.3, mkdocs-material-9.1.19" name="generator"/>
Expand Down Expand Up @@ -401,7 +401,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../../../microservices/core/data/APIReference/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
API Reference
</a>
</li>
Expand Down Expand Up @@ -1642,7 +1642,7 @@
</a>
</li>
<li class="md-nav__item">
<a class="md-nav__link" href="../Ch-APICoreData/">
<a class="md-nav__link" href="../../../microservices/core/data/ApiReference/">
Core Data
</a>
</li>
Expand Down Expand Up @@ -1832,14 +1832,14 @@ <h1 id="core-metadata">Core Metadata</h1>
device provisioning service deposits and manages device metadata through
this service's API. See <a href="../../../microservices/core/metadata/Ch-Metadata/">Core Metadata</a> for more details about this service.</p>
<h2 id="swagger">Swagger</h2>
<p><iframe class="swagger-ui-iframe" frameborder="0" id="fc70c671" src="swagger-fc70c671.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
<p><iframe class="swagger-ui-iframe" frameborder="0" id="dc500e90" src="swagger-dc500e90.html" style="overflow:hidden;width:100%;" width="100%"></iframe></p>
</article>
</div>
</div>
</main>
<footer class="md-footer">
<nav aria-label="Footer" class="md-footer__inner md-grid">
<a aria-label="Previous: Core Data" class="md-footer__link md-footer__link--prev" href="../Ch-APICoreData/" rel="prev">
<a aria-label="Previous: Core Data" class="md-footer__link md-footer__link--prev" href="../../../microservices/core/data/ApiReference/" rel="prev">
<div class="md-footer__button md-icon">
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"></path></svg>
</div>
Expand Down
Loading

0 comments on commit 8183d0c

Please sign in to comment.