From 9e76aafc1c9ea2626114ecce7045c69d84729ec2 Mon Sep 17 00:00:00 2001 From: Maxime Guyot <Miouge1@users.noreply.github.com> Date: Thu, 7 Feb 2019 13:52:08 +0100 Subject: [PATCH] Publish docs with docsify (#4193) * Add docsify website * Add website CI --- .nojekyll | 0 docs/_sidebar.md | 22 ++++++++++++++++++++++ index.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 .nojekyll create mode 100644 docs/_sidebar.md create mode 100644 index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/docs/_sidebar.md b/docs/_sidebar.md new file mode 100644 index 000000000..c035c54c6 --- /dev/null +++ b/docs/_sidebar.md @@ -0,0 +1,22 @@ +* [Readme](/) +* [Comparisons](/docs/comparisons.md) +* [Getting started](/docs/getting-started.md) +* [Variables](/docs/vars.md) +* [Ansible](/docs/ansible.md) +* [Upgrades](/docs/upgrades.md) +* CNI + * [Calico](docs/calico.md) + * [Contiv](docs/contiv.md) + * [Flannel](docs/flannel.md) + * [Weave](docs/weave.md) + * [Multus](docs/multus.md) +* [Cloud providers](docs/cloud.md) + * [AWS](docs/aws.md) + * [Azure](docs/azure.md) + * [OpenStack](/docs/openstack.md) + * [vSphere](/docs/vsphere.md) +* Operating Systems + * [Debian](docs/debian.md) + * [Coreos](docs/coreos.md) + * [OpenSUSE](docs/opensuse.md) +* [Roadmap](docs/roadmap.md) diff --git a/index.html b/index.html new file mode 100644 index 000000000..2e11705ca --- /dev/null +++ b/index.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Kubespray - Deploy a Production Ready Kubernetes Cluster</title> + <meta name="description" content="Deploy a Production Ready Kubernetes Cluster"> + <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> + <link rel="stylesheet" href="//unpkg.com/docsify-themeable/dist/css/theme-simple.css"> + <style> + :root { + --base-font-size: 16px; + --theme-color: rgb(104, 118, 52); + --link-color: rgb(104, 118, 52); + --link-color--hover: rgb(137, 152, 100); + --sidebar-name-margin: 0; + --sidebar-name-padding: 0; + --code-font-size: .9em; + } + .sidebar > h1 { + margin-bottom: -.75em; + margin-top: .75em; + } + .markdown-section a code { + color: var(--link-color)!important; + } + .markdown-section code:not([class*="lang-"]):not([class*="language-"]) { + white-space: unset + } + </style> +</head> +<body> + <div id="app"></div> +</body> +<script> + window.$docsify = { + name: 'Kubespray', + loadSidebar: 'docs/_sidebar.md', + repo: 'https://github.com/kubernetes-sigs/kubespray', + auto2top: true, + } +</script> +<script src="//unpkg.com/docsify/lib/docsify.min.js"></script> +<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script> +<script src="//unpkg.com/docsify/lib/plugins/ga.min.js"></script> + +</html> -- GitLab