Skip to content

Docsify g command generate unwanted structure #173

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

Closed
yzqdev opened this issue Mar 5, 2022 · 2 comments
Closed

Docsify g command generate unwanted structure #173

yzqdev opened this issue Mar 5, 2022 · 2 comments

Comments

@yzqdev
Copy link

yzqdev commented Mar 5, 2022

it's on windows

My file struct is:

└─doctest
        .nojekyll
        index.html
        markdown.md
        more-pages.md
        my404.md
        plugins.md
        pwa.md
        quickstart.md
        README.md
        ssr.md
        SUMMARY.md
        themes.md
        vue.md
        write-a-plugin.md
        _sidebar.md

after i run docsify g docstest, it generates absolute path.
the generated sidebar is :

- E:
  - [markdown](E:\tmp\docs\doctest\markdown.md)
  - [more-pages](E:\tmp\docs\doctest\more-pages.md)
  - [my404](E:\tmp\docs\doctest\my404.md)
  - [plugins](E:\tmp\docs\doctest\plugins.md)
  - [pwa](E:\tmp\docs\doctest\pwa.md)
  - [quickstart](E:\tmp\docs\doctest\quickstart.md)
  - [README](E:\tmp\docs\doctest\README.md)
  - [ssr](E:\tmp\docs\doctest\ssr.md)
  - [SUMMARY](E:\tmp\docs\doctest\SUMMARY.md)
  - [themes](E:\tmp\docs\doctest\themes.md)
  - [vue](E:\tmp\docs\doctest\vue.md)
  - [write-a-plugin](E:\tmp\docs\doctest\write-a-plugin.md)

what i want is relative path like this:

- E:
  - [markdown](./markdown.md)
  - [more-pages](./more-pages.md)
  - [my404](./my404.md)
  - [plugins](./plugins.md)
  - [pwa](./pwa.md)
  - [quickstart](./quickstart.md)
  - [README](./README.md)
  - [ssr](./ssr.md)
  - [SUMMARY](./SUMMARY.md)
  - [themes](./themes.md)
  - [vue](./vue.md)
  - [write-a-plugin](./write-a-plugin.md)

so how should i config ?

@sy-records
Copy link
Member

There may be a problem with windows, I will check it later.

@sy-records
Copy link
Member

Fixed via #192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants