Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多页时侧边栏配置了subMaxLevel无效 #726

Closed
wsyks opened this issue Dec 27, 2018 · 4 comments
Closed

多页时侧边栏配置了subMaxLevel无效 #726

wsyks opened this issue Dec 27, 2018 · 4 comments
Labels
wait for information something is not clear, waiting for the author of the issue/pr

Comments

@wsyks
Copy link

wsyks commented Dec 27, 2018

已经设置了subMaxLevel,在多页的情况下还是无法自动生成子目录,

window.$docsify = {
        subMaxLevel: 2,
        name: "",
        repo: "",
        loadSidebar: true,
        loadSidebar: "_sidebar.md",
        auto2top: true, //当路径改变时,滚到屏幕顶部
        maxLevel: 2,
        search: {
          paths: "auto", // or 'auto'
          placeholder: "搜索",
          noData: "No results"
        }
      };
@wsyks
Copy link
Author

wsyks commented Dec 27, 2018

找到原因了,文件不能是中文

@hudc
Copy link

hudc commented Jan 8, 2019

找到原因了,文件不能是中文

Hi,I test about the file name with chinese, it can auto generate the content.

@wsyks
Copy link
Author

wsyks commented Jan 11, 2019

找到原因了,文件不能是中文

Hi,I test about the file name with chinese, it can auto generate the content.

Yes,at the beginning, i change my file name from Chinese to English, the problem was solved ,so i guess it because of Chinese file name, but actually it due to the space in the file name,
I created a codesandbox ,it is the origin file setting https://codesandbox.io/s/7porz3x7j.

@timaschew timaschew added the wait for information something is not clear, waiting for the author of the issue/pr label Jan 29, 2019
@timaschew
Copy link
Member

Please translate your question into English.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait for information something is not clear, waiting for the author of the issue/pr
Projects
None yet
Development

No branches or pull requests

3 participants