docsify-sidebar-collapse icon indicating copy to clipboard operation
docsify-sidebar-collapse copied to clipboard

a docsify plugin, support sidebar catalog expand and collapse

Results 20 docsify-sidebar-collapse issues
Sort by recently updated
recently updated
newest added

路由切换折叠的还会被展开

问题:当目录为空时,`addFolderFileClass` 函数中的 `li.querySelector('ul:not(.app-sub-sidebar)')` 在判断时,由于后续找不到 `ul` 节点,所以会添加 *file* 属性。 解决方案:在 `li.querySelector('ul:not(.app-sub-sidebar)')` 的判断处添加一种新的判断。可以是 `li.querySelector('a').href.endsWith('/')`。 原理: docsify 在解析 “markdown” 文件时,若以 “.md” 结尾则 `a 标签`中的 “href” 的值不会以 “/” 结尾,而如果是目录则会添加斜杠(“/”)。 是否引起其他问题:暂未发现。 修改后的代码如下: ```javascript function addFolderFileClass()...

sidebar里带链接的子节点显示都正确, 但是目录节点对不齐。比如这个sandbox里的item 3. See: https://codesandbox.io/s/falling-paper-w19udv?file=/README.md ``` - [Item 1](/) - [Item 2](/) - Item 3 (not aligned correctly) - [Item 3.1](/) - [Item 3.2](/) - [Item 4](/) - [Item 5](/)...

Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.6.1 to 1.7.3. Release notes Sourced from shell-quote's releases. v1.7.2 Fix a regression introduced in 1.6.3. This reverts the Windows path quoting fix. (144e1c2) v1.7.1 Fix $...

dependencies

当我安装这个插件之后,PC端没有问题,但在手机端,再无法打开侧栏了,以至于我只能看首页。

In the side bar, if you try to click the " >", it doesn't work. Only when you click on the word ahead of it. (e.g. > Support) When the...

It would be great if we could default items on the sidebar to be closed, rather than all expanded.

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Hello Folks, we experienced an issue with this great plugin. If you double-click an menu item, it disappears and won't return until we refresh the page. Can you reproduce this...

Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...

dependencies