mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-24 22:39:25 +01:00
Documentation is now published on the `gh-pages` branch. The branch will have a folder `docs` containing the following structure: - `./docs` the copy from the `main` docs, but only used for the `index.html` page to do the multi-version routing. - `./docs/main` the copy from the `main` branch docs folder - `./docs/beta` the copy from the `beta` branch docs folder Closes #332
89 lines
3.4 KiB
HTML
89 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Sablier - Scale to Zero</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
<meta name="description" content="Description">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css">
|
|
<link rel="stylesheet" href="assets/style.css">
|
|
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico">
|
|
<style>
|
|
:root {
|
|
--base-font-size: 16px;
|
|
--theme-color : #ffd05b;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
<script>
|
|
console.log("Loading docs/index.html")
|
|
window.$docsify = {
|
|
name: '<a id="home-link" class="app-name-link">Sablier</a><div>' +
|
|
'<select id="version-selector" class="sidebar-version-select" name="version">' +
|
|
'<option value="main">main</value>' +
|
|
'<option value="beta">beta</value>' +
|
|
'</select></div>',
|
|
// disable automatic linking to avoid navigating when clicking on select
|
|
nameLink: false,
|
|
repo: 'https://github.com/acouvreur/sablier',
|
|
notFoundPage: true,
|
|
loadSidebar: true,
|
|
relativePath: true,
|
|
alias: {
|
|
// Uncomment lines below for local development.
|
|
// '/main/': 'README.md',
|
|
// '/main/(.*)': '$1',
|
|
'/beta/.*/_sidebar.md': '/beta/_sidebar.md',
|
|
'/main/.*/_sidebar.md': '/main/_sidebar.md',
|
|
},
|
|
auto2top : true,
|
|
maxLevel : 3,
|
|
subMaxLevel: 3,
|
|
namespaces: [
|
|
{
|
|
id: "version",
|
|
values: ["main", "beta"],
|
|
default: "main",
|
|
optional: true,
|
|
selector: "#version-selector",
|
|
}
|
|
],
|
|
tabs: {
|
|
persist : true, // default
|
|
sync : true, // default
|
|
theme : 'classic', // default
|
|
tabComments: true, // default
|
|
tabHeadings: true // default
|
|
},
|
|
search: {
|
|
paths: 'auto',
|
|
hideOtherSidebarContent: true,
|
|
depth: 3,
|
|
pathNamespaces: ['/main', '/beta']
|
|
}
|
|
}
|
|
</script>
|
|
<!-- Docsify v4 -->
|
|
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
|
|
<script src="//unpkg.com/prismjs/components/prism-go.min.js"></script>
|
|
<script src="//unpkg.com/prismjs/components/prism-yaml.min.js"></script>
|
|
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
|
|
<script src="//unpkg.com/prismjs/components/prism-docker.min.js"></script>
|
|
<script src="//unpkg.com/prismjs/components/prism-nginx.min.js"></script>
|
|
|
|
<!-- plugins -->
|
|
<script src="//unpkg.com/docsify-namespaced@0.1.1/dist/docsify-namespaced.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
|
|
<script src="//unpkg.com/docsify-copy-code@2"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github"></script>
|
|
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
|
|
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/zoom-image.min.js"></script>
|
|
<script src="//unpkg.com/docsify-plantuml/dist/docsify-plantuml.min.js"></script>
|
|
</body>
|
|
</html>
|