-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Switch gulp docs
to build its output using documentation.js
#1545
Conversation
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.
Since you're adding stuff to package.json
, we should update the yarn lockfile too.
There's probably a faster way... but I always do:
rm -rf node_modules
rm yarn.lock
yarn install
git add yarn.lock
If you don't have yarn
installed and don't wanna be bothered by it, let me know and I can do it.
package.json
Outdated
@@ -51,7 +51,8 @@ | |||
"gulp-footer": "^1.0.5", | |||
"gulp-header": "^1.7.1", | |||
"gulp-if": "^2.0.2", | |||
"gulp-jsdoc-to-markdown": "^1.2.1", | |||
"gulp-documentation": "3.2.1", | |||
"documentation": "5.2.2", |
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.
Let's move documentation
above, to keep this mammoth list of dev-depdendencies alphabetized.
Also: Stick a ^
before the version (like the surrounding ones). That makes it download the latest version, up until the library makes a breaking change that we actually have to pay attention to..
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.
Thanks @dbemiller ! Made all requested changes:
- Alphabetize package list
- Add "^" to versions
- Update
yarn.lock
Specifically: - Alphabetize list of deps - Prepend "^" to package versions
…built * 'master' of https://github.com/prebid/Prebid.js: (46 commits) Serverbid alias (prebid#1560) Add user sync to process for approving adapter PRs (prebid#1457) fix travis build (prebid#1595) Rubicon project improvement/user sync (prebid#1549) Adding Orbitsoft adapter (prebid#1378) Fix renderer test for new validation rule (prebid#1592) Allow SET_TARGETING to be used in AnalyticsAdapter (prebid#1577) Add support for video stream context (prebid#1483) Invalidate bid if matching bid request not found (prebid#1575) allow adapters to set default adserverTargeting for specific bid (prebid#1568) Custom granularity precision should honor 0 if it is passed in closes prebid#1479 (prebid#1591) BaseAdapter for the Prebid 0.x -> 1.x transition (prebid#1494) Add a version to the Criteo adapter (prebid#1573) Allow bundling from node.js or with new gulp task bundle-to-stdout (prebid#1570) Add url.parse option to not decode the whole URL (prebid#1480) Tremor Video Bid Adapter (prebid#1552) Yieldmo bid adapter (prebid#1415) Switch `gulp docs` to build its output using documentation.js (prebid#1545) Increment pre version Prebid 0.28.0 Release ...
…#1545) * Use 'gulp-documentation' instead of jsdoc2md * Build Markdown instead (more versatile) * Update package.json per review feedback Specifically: - Alphabetize list of deps - Prepend "^" to package versions * Update yarn.lock alongside package.json
…#1545) * Use 'gulp-documentation' instead of jsdoc2md * Build Markdown instead (more versatile) * Update package.json per review feedback Specifically: - Alphabetize list of deps - Prepend "^" to package versions * Update yarn.lock alongside package.json
Type of change
Description of change
Change from using the gulp JSDoc to Markdown plugin to the
gulp-documentation
plugin, which drives documentation.js.Rationale for the change is that documentation.js generates much more complete API doc output from
src/prebid.js
given the same source file contents (see examples attached below for comparison).documentation-js-API.txt
jsdoc-readme.txt
Other information
More preliminary work towards achieving #1408