master^2
iotcat 4 years ago
parent e3d1259c04
commit c6d5fc6b6e
  1. 38
      docs/index.html

@ -14,29 +14,31 @@
<script src="https://unpkg.com/docute@3/dist/docute.js"></script> <script src="https://unpkg.com/docute@3/dist/docute.js"></script>
<script src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script> <script src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script>
<script> <script>
docute.init({
sidebar: [
// A sidebar item, with child links docute = new Docute({
sidebar: [
// A sidebar item, with child links
{
title: 'Guide',
children: [
{ {
title: 'Guide', title: 'Getting Started',
children: [ link: '/guide/getting-started'
{
title: 'Circuit Design',
link: '/part/schematic'
},
{
title: 'PCB Design',
link: '/part/pcb'
}
]
}, },
// An external link
{ {
title: 'GitHub', title: 'Installation',
link: 'https://github.com/egoist/docute' link: '/guide/installation'
} }
] ]
}) },
// An external link
{
title: 'GitHub',
link: 'https://github.com/egoist/docute'
}
]
})
</script> </script>
</body> </body>
</html> </html>

Loading…
Cancel
Save