Skip to content

lx0f/docsify-sidebar-collapse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docsify-sidebar-collapse

Install

Copy the css link into your html file.

<!-- index.html -->
<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@lx0f/docsify-sidebar-collapse@2.0.0/dist/index.css"
/>

Copy the script tag into your html file.

<script src="https://cdn.jsdelivr.net/npm/@lx0f/docsify-sidebar-collapse@2.0.0/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",
};

About

A Docsify plugin that reworks the sidebar to make it collapsible 🙈

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 80.3%
  • SCSS 12.3%
  • JavaScript 5.3%
  • HTML 2.1%