YaKazama

Results 5 issues of YaKazama

问题:当目录为空时,`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()...

问题: - 使用 docker compose 部署时,由于 elasticsearch 是单节点,但是所生成的索引副本数确默认配置为 1 ,导致冲突,使 elasticsearch 状态一直处于 yellow 状态,无法切换至 green 状态。现象如图所示: - 不完全确定是否会随着运行时间的增加,索引数量或大小无限制增长,最终导致 elasticsearch 无限崩溃。 期望: - 针对第一个问题,在 elasticsearch 就续后,能自动将 index.number_of_replicas 配置改为 0 或将 index.auto_expand_replicas...

PS: 1. There is no `docutils` module in the default `python3.3.zip`. used the `python3.3` command to install it yourself and move the `docutils` module into `python3.3.zip`. 2. If you want...

When the parameter "load_external_files" is empty, traverse the folder and look for all the files specified in "css_extension". Modify the file: project.py for the following(By default(implemented functionality, unaffected.), the css...

error info: ``` error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted ``` find the file: `style_parser.py`, modify the contents of class class...