Skip to content
Snippets Groups Projects
Commit e53d6e9a authored by David Schwarzmann's avatar David Schwarzmann
Browse files

Remove old documentation UI

parent 5041987e
No related branches found
No related tags found
1 merge request!43Introduce docusaurus
This license is for `rapidoc-min.js`:
MIT License
===========
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
// Localhost: python -m http.server
// sed 's,API_VERSION,https://example.com/spec.yml,g' ui/config.js.template > ui/config.js
export const SPEC_URL = "API_VERSION";
<!doctype html>
<html>
<head>
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 charecters -->
<title>Zustelldienst - API-Referenz</title>
<script type="module" src="rapidoc-min.js"></script>
<script type="module">
import {SPEC_URL} from './config.js';
console.log('Spec: ' + SPEC_URL);
let docEl = document.getElementById("thedoc");
docEl.setAttribute("spec-url", SPEC_URL);
</script>
</head>
<body>
<!--<rapi-doc spec-url = "poc/reference/0_xfall_deref_snippets.json" -->
<rapi-doc id="thedoc"
render-style="focused"
theme="light"
xprimary-color="#11171a"
header-color="#263238"
nav-bg-color="#263238"
show-info="true"
show-header="true"
show-components="true"
allow-spec-file-load="false"
info-description-headings-in-navbar="true">
<!-- content at the top -->
<!-- content at the bottom -->
<p slot="footer" style="background: #f1f1f1; padding: 24px 100px 12px 100px">
FITKO (Föderale IT-Kooperation) | Zum Gottschalkhof 3 | 60594 Frankfurt am Mail | E-Mail: poststelle@fitko.de |
https://www.fitko.de | Die FITKO ist eine Anstalt des öffentlichen Rechts. Sie wird vertreten durch die
Präsidentin Frau Dr. Annette Schmidt.
</p>
<!-- replace logo -->
<!--<p slot="logo"><img src="https://git.fitko.de/uploads/-/system/project/avatar/1/Connect.jpg?width=128" style="height: 1em; margin: 0.3em 0 0 1em; background: white; padding: 0.5em;" alt="Logo"></p>-->
<p slot="logo"></p>
<!-- header -->
<!--<p slot="header"></p>-->
</rapi-doc>
</body>
</html>
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment