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

chore(package.json): rename docgen to publish_docs, add build_docs #1365

Closed
wants to merge 1 commit into from

Conversation

staltz
Copy link
Member

@staltz staltz commented Feb 19, 2016

Renamed npm script build_docs => publish_docs, because that's what it actually does, and renamed
docgen.sh to publish_docs.sh. Then, made npm script build_docs that simply builds the docs webpage,
without publishing.

Just a minor PR to clean up before I start major work related to docs.

@@ -22,7 +22,8 @@
"build_perf": "npm run build_cjs && npm run build_global && webdriver-manager update && npm run perf",
"build_test": "rm -rf dist/ && npm run lint && npm run build_cjs && jasmine",
"build_cover": "rm -rf dist/ && npm run lint && npm run build_cjs && npm run cover",
"build_docs": "./docgen.sh",
"build_docs": "npm run build_es6 && npm run tests2png && esdoc -c esdoc.json",
"publish_docs": "./publish_docs.sh",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just minor (and picky) suggestion - what about replace inner invocation in shell script to run build_docs? then if change's required, only one place can be updated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done :)

…ript

Renamed npm script build_docs => publish_docs, because that's what it actually does, and renamed
docgen.sh to publish_docs.sh. Then, made npm script build_docs that simply builds the docs webpage,
without publishing.
@kwonoj
Copy link
Member

kwonoj commented Feb 20, 2016

Merged with 6e42174 , thanks @staltz

@kwonoj kwonoj closed this Feb 20, 2016
@staltz staltz deleted the publish_docs branch February 20, 2016 19:49
@lock
Copy link

lock bot commented Jun 7, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants