-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
feat(serve): add --index-name to rewrite default index name #48
Conversation
@@ -9,6 +9,7 @@ cache: | |||
- ./node_modules | |||
install: | |||
- npm install | |||
- npm install -g gulp | |||
- npm install [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this?
@@ -10,8 +10,8 @@ | |||
"integrity": "sha512-3Sp6WZZ/lXl+nTDoGpGWHEpTnnC6X5fnkolYZR6nwIfzbxxvA8utPWe1gCt7i0m9uVGsSz2IS8K8mJ7HmlduMg==", | |||
"dev": true, | |||
"requires": { | |||
"jsonparse": "^1.2.0", | |||
"through": ">=2.2.7 <3" | |||
"jsonparse": "1.3.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove package-lock.json and package.json changes
What a pitty. I didn't realize that after I've commented on lines I need to start a reiew explicitly. |
Before this PR
I has 2 docs versions in same folder
index.public.html
andindex.dev.html
versions.To get them by
docsify-cli
I need to create emptyindex.html
After this PR
I've create a flag
--index-name
or-i
to specify the default index file.Now I'm able to manually serve
index.public.html
andindex.dev.html