The examples and docs are deployed from the openlayers.github.io repo

To deploy the latest docs and examples, see https://github.com/openlayers/openlayers.github.io/blob/build/README.md

tl;dr

    git clone -b build https://github.com/openlayers/openlayers.github.io.git
    cd openlayers.github.io
    npm install
    npm run deploy

Subsequent deploys are simply: `npm run deploy`

This publishes the examples (http://ol3js.org/en/master/examples/) and docs (http://ol3js.org/en/master/apidoc/).

The `build.py gh-pages` target published under different paths (http://ol3js.org/ol3/master/examples/ and http://ol3js.org/ol3/master/apidoc/).  Having two (not always up to date) copies of this content hosted on the same domain is A Bad Idea.
Correct links to hosted examples (and docs)
Adjective -> adverb
ol.source.Source#setAttributions is not exported
Merge pull request #838 from elemoine/fix-ign-example

Fix wmts-ign example when hosted
ol.source.Source#setLogo is not exported
Merge pull request #841 from elemoine/fix-ign-example

Fix wmts-ign example when hosted (take 2)
Merge pull request #839 from tschaub/delete-gh-pages-branch

Delete gh-pages branch
Load scripts in RAW mode by default

On-the-fly compilation is a frustrating default.
Use full grid

The example documentation should not be restricted to 1/3 of the row unless there is something else consuming the other 2/3.
Duplicated id
Merge pull request #842 from tschaub/examples

Updates to example markup.
Snapshot