78 lines
2.7 KiB
HTML
78 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html lang="es">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>SigPro Docs</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<link
|
|
rel="stylesheet"
|
|
href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"
|
|
/>
|
|
|
|
<link
|
|
href="https://cdn.jsdelivr.net/npm/daisyui@5"
|
|
rel="stylesheet"
|
|
type="text/css"
|
|
/>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
|
|
<script>
|
|
window.$docsify = {
|
|
name: "SigPro",
|
|
repo: "",
|
|
loadSidebar: true,
|
|
subMaxLevel: 0,
|
|
sidebarDisplayLevel: 1,
|
|
executeScript: true,
|
|
copyCode: {
|
|
buttonText:
|
|
'<svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>',
|
|
errorText: "Error",
|
|
successText:
|
|
'<svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"></polyline></svg>',
|
|
},
|
|
search: {
|
|
placeholder: "Type to search",
|
|
noData: "No Results!",
|
|
depth: 3,
|
|
hideOtherSidebarContent: true,
|
|
},
|
|
plugins: [
|
|
function (hook, vm) {
|
|
hook.doneEach(function () {
|
|
const codeBlocks = document.querySelectorAll(
|
|
'pre[data-lang="js"] code',
|
|
);
|
|
codeBlocks.forEach((code) => {
|
|
try {
|
|
const scriptContent = `(function() { ${code.innerText} }).call(window);`;
|
|
const runDemo = new Function(scriptContent);
|
|
runDemo();
|
|
} catch (err) {
|
|
console.error("Error ejecutando demo de SigPro:", err);
|
|
}
|
|
});
|
|
});
|
|
},
|
|
],
|
|
};
|
|
</script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
|
<script type="module">
|
|
import * as SigPro from "./sigpro.js";
|
|
Object.assign(window, SigPro);
|
|
import("./convert.js").then(() => {
|
|
console.log("SigPro y Convert cargados correctamente.");
|
|
});
|
|
</script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
|
|
</body>
|
|
</html>
|