2.0.26 • Published 16 days ago

@developerportalsg/docsify-sidebar-collapse v2.0.26

Weekly downloads
-
License
-
Repository
github
Last release
16 days ago

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.24/dist/index.css"
/>

Copy the script tag into your html file.

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

Publishing

GitHub

If semantic release fails during GitHub Actions, please ensure that the GH_TOKEN provided is valid and contains the correct permissions. Members of the repo can consider updating the token under secrets of the project if the existing token is lost. The Perosnal Access Token can be created under member's personal setting and a repo scope is needed for the release to run.

NPM

If publishing fails during GitHub Actions, please ensure that the NPM_TOKEN provided is valid and contains the correct permissions. Member of the repo (on GitHub and NPM) can consider updating the secrets of the project if the existing token is lost.

2.0.26

16 days ago

2.0.24

2 months ago

2.0.23

2 months ago

2.0.22

2 months ago

2.0.21

3 months ago

2.0.19

3 months ago

2.0.17

3 months ago

2.0.18

3 months ago

2.0.20

3 months ago

2.0.15

4 months ago

2.0.16

4 months ago

2.0.14

4 months ago

2.0.13

4 months ago

2.0.12

4 months ago

2.0.11

4 months ago

2.0.9

4 months ago

2.0.10

4 months ago

2.0.8

5 months ago

2.0.7

5 months ago

2.0.6

5 months ago