mirror of
https://github.com/h44z/wg-portal.git
synced 2025-10-04 15:36:18 +00:00
Deployed 059234d
to v2.0.0-rc.1 with MkDocs 1.6.1 and mike 2.1.3
This commit is contained in:
169
v2.0.0-rc.1/documentation/configuration/examples/index.html
Normal file
169
v2.0.0-rc.1/documentation/configuration/examples/index.html
Normal file
File diff suppressed because one or more lines are too long
88
v2.0.0-rc.1/documentation/configuration/overview/index.html
Normal file
88
v2.0.0-rc.1/documentation/configuration/overview/index.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
18
v2.0.0-rc.1/documentation/getting-started/docker/index.html
Normal file
18
v2.0.0-rc.1/documentation/getting-started/docker/index.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
v2.0.0-rc.1/documentation/overview/index.html
Normal file
1
v2.0.0-rc.1/documentation/overview/index.html
Normal file
File diff suppressed because one or more lines are too long
72
v2.0.0-rc.1/documentation/rest-api/api-doc/index.html
Normal file
72
v2.0.0-rc.1/documentation/rest-api/api-doc/index.html
Normal file
File diff suppressed because one or more lines are too long
120
v2.0.0-rc.1/documentation/rest-api/api-doc/swagger-d042b843.html
Normal file
120
v2.0.0-rc.1/documentation/rest-api/api-doc/swagger-d042b843.html
Normal file
@@ -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;">
|
||||
<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: "../swagger.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",
|
||||
"filter_files": [],
|
||||
"syntaxHighlight.theme": "agate"
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
if (parent.__init_is_dark_mode) {
|
||||
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("d042b843");
|
||||
});
|
||||
|
||||
// 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>
|
1487
v2.0.0-rc.1/documentation/rest-api/swagger.yaml
Normal file
1487
v2.0.0-rc.1/documentation/rest-api/swagger.yaml
Normal file
File diff suppressed because it is too large
Load Diff
9
v2.0.0-rc.1/documentation/upgrade/v1/index.html
Normal file
9
v2.0.0-rc.1/documentation/upgrade/v1/index.html
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user