commercetools / sphere-play-sdk

Java API client and helper classes for building a SPHERE.IO shop on Play 2.2
http://sphere.io
7 stars 6 forks source link

Publish javadoc versioned #35

Open hajoeichler opened 10 years ago

hajoeichler commented 10 years ago

e.g.

http://commercetools.github.io/0.57.0/sphere-play-sdk/
schleichardt commented 10 years ago

If you like I can do it, I have already an idea.

svenmueller commented 10 years ago

i would move the version below the "sphere-play-sdk", so we can have multiple versioned project docs

http://commercetools.github.io/sphere-play-sdk/0.57.0/
http://commercetools.github.io/sphere-php-sdk/0.0.1/
hajoeichler commented 10 years ago

At the end we will have:

http://sphereio.github.io/play-sdk/0.57.0/
schleichardt commented 10 years ago

I want a subfolder in case we want to use the page for additional stuff in the future (tutorials, coverage reports, ...)

http://sphereio.github.io/play-sdk/javadoc/1.0.0/
http://sphereio.github.io/play-sdk/javadoc/1.1.0-SNAPSHOT/
schleichardt commented 10 years ago

@hajoeichler Do you have an idea how to publish the javadoc only in master branch?

The current command does not work as expected: https://github.com/sphereio/sphere-jvm-sdk/blob/master/.travis.yml#L7

hajoeichler commented 10 years ago
TRAVIS_PULL_REQUEST: The pull request number if the current job is a pull request, "false" if it's not a pull request.

more at http://docs.travis-ci.com/user/ci-environment/