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

문서의 LNB 링크를 반복 클릭하면 .%5C 특수기호가 붙는 현상 #18

Open
djkeh opened this issue Jun 26, 2017 · 1 comment
Assignees
Labels

Comments

@djkeh
Copy link
Contributor

djkeh commented Jun 26, 2017

Detailed Description

Environment

  • Node Version: v6.10.0
  • OS/Arch: Windows 7
  • Flybook Version: v1.4.4

Structure of Document Root

- docs
\_ Korean.md
\_ English.md
\_ toc.yml

Error

LNB 영역의 문서 링크를 재차 클릭하면, 링크 중간에 .%5C 특수기호(.\을 의미)가 붙습니다.

  • 재현 방법
    1. yarn docs (flybook docs --outdir=out --prod --silent)
    2. yarn pages (gh-pages -d out)
    3. 웹페이지 방문하여 LNB에서 문서를 클릭
    4. LNB 링크들을 확인

위 문제 확인 부탁드립니다.
감사합니다.

@rhiokim rhiokim added the bug label Jun 26, 2017
@rhiokim rhiokim self-assigned this Jun 26, 2017
@djkeh
Copy link
Contributor Author

djkeh commented Jan 25, 2019

저는 이 문제가 리눅스 계열 OS에서는 발생하지 않고, 윈도우에서만 발생할 것으로 추정하고 있습니다. 해당 기호를 url decode 하면 .\를 나타냅니다. 이는 윈도우 폴더 루트를 표시하는 백슬래시(backslash) 기호로 리눅스 ./와 다르게 들어갑니다.

윈도우에서 실행한 flybook docs 커맨드가 os에 dependent하게 폴더 루트 기호를 앞에 삽입하면서 경로가 틀어지게 되는 이슈로, 해당 코드를 손보면 해결할 수 있을 것으로 기대합니다. 시간이 나면(...^^;) 제가 한 번 살펴 보겠습니다.

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

No branches or pull requests

2 participants