@lx0f/docsify-sidebar-collapse
v2.0.6
Published
A docsify plugin for a collapsible sidebar!
Downloads
45
Readme
docsify-sidebar-collapse
Install
Copy the css link into your html file.
<!-- index.html -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@lx0f/[email protected]/dist/index.css"
/>
Copy the script tag into your html file.
<script src="https://cdn.jsdelivr.net/npm/@lx0f/[email protected]/dist/index.js"></script>
Setup sidebar configuration in your docsify config.
NOTE! Base path uses the
nameLink
config name
window.$docsify = {
enableSidebarCollapse: true,
nameLink: "/docs/slug",
};