Comments (6)
아! 이 문제였군요.
http://flybook.js.org/basic/configuration.html 이 페이지를 참고해주세요.
자세한 설명이 추가되지 않았지만 위 페이지에 표시된 키와 값을 참조해서 비어있다면 채워주셔야 합니다.
Flybook 은 별도의 flybook.conf.js
, flybook.yml
그리고 .flybookrc
와 같은 환경 설정파일 생성을
요구되지 않도록 구현할 계획입니다.
from flybook.
v1.4.3 에서 좀더 개선되었습니다.
from flybook.
v1.4.4
에서 --prod
옵션 유무 다시 테스트해 봤습니다.
이제 Git 버튼에는 링크가 잘 달려나오는데요, BI와 Home 버튼에는 링크가 --prod
상태와 다르게 나옵니다.
--prod
는 package.json
옵션의 homepage
값을 잘 내보내는 것 같은데요, 그냥 내보낼 땐 /
이 붙어버리면서 https://djkeh.github.io/
까지만 나가는 것 같습니다.
코드를 살펴보니,
https://github.com/rhiokim/flybook/blob/master/libs/main.js#L108
여기서 production 모드가 아닐 때 /
로 하도록 고정해서 그런 것 같아요.
그래서 https://user.github.io/project/
같은 home url을 가진 문서를 내보내면
https://user.github.io/
라고만 붙는 것 같습니다.
의도하신 부분인 것 같은데, 여기도 production mode랑 똑같이 나가게 하면 어떨까요?
한 번 확인 부탁드릴게요.
추가
이번 업데이트에서 Github 링크의 메뉴 버튼 이름이 Github
-> Git
으로 바뀐 것 같네요.
저장소 링크는 Github이 맞으니까 이전 이름이 더 의미에는 맞는 것 같은 느낌도 드는데..
이번에 Git
으로 바꾸신 이유가 어떤 건지 궁금합니다.
감사합니다~
from flybook.
--prod
는 실 서버 배포시에만 사용되는 옵션으로 보시면 됩니다..
gh-pages
를 포함해 도메인을 갖은 서비스로 노출될 때 사용하는 옵션이구요.
flybook 이 생성한 정적 파일들이 gh-pages
로만 배포되는 것이 아니기 때문이죠.
로컬에서 정적 웹 서버를 띄워서 확인할 경우에는 Home 링크 원격지로 가기 때문에 링크가 깨지게 됩니다.
이 부분은 사용성을 테스트 이후에 좀더 개선할 필요가 있다는 생각이 드네요.
github
가 -> git
으로 변경된 것은 아직 고민중이긴 하지만 Repository 를 표현하기 위한 수단이였습니다.
bitbucket, gitlab 이 될 수도 있어서 git 으로 변경된 상태입니다.
from flybook.
이슈는 해결된거 같아 닫습니다.
from flybook.
확인하였습니다. 로컬 테스트 환경을 잊고 있었네요^^ /
를 준 이유를 잘 이해했습니다.
Git
이름도 잘 이해했습니다.
고맙습니다~
from flybook.
Related Issues (20)
- feature: add license and change log page
- Manage unsupported type in url of repository HOT 3
- special char in file name HOT 1
- feature: maintainers page
- feature: support wiki syntax HOT 1
- feature: support custom document HOT 1
- 문서의 LNB 링크를 반복 클릭하면 `.%5C` 특수기호가 붙는 현상 HOT 1
- feature: i18n
- Supports a table of contents HOT 1
- 계층적 리스트(`<li>`) 엘리먼트의 여백 개선 건의 HOT 2
- 기능 질문 HOT 1
- Feature Request: Support MDX
- All rights reserved 연도를 컨트롤하는 방법 건의
- Documentation
- image files?
- 절대경로표기를 상대경로로 바꿀수 있나요? HOT 1
- 페이지 링크 HOT 1
- Responsive
- resources are removed and throws error! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flybook.