s/gh-pages/hosted

Éric Lemoine
2013-07-08 03:06:24 -07:00
parent d2eb7575f2
commit ff2411733f
+2 -2
@@ -143,9 +143,9 @@ This target performs a number of things:
1. Build `ol.js`, `ol-simple.js`, `ol-whitespace.js`, and `ol.css`, 1. Build `ol.js`, `ol-simple.js`, `ol-whitespace.js`, and `ol.css`,
1. Create the examples index page, 1. Create the examples index page,
1. Extract the Closure Library from the Plovr JAR, 1. Extract the Closure Library from the Plovr JAR,
1. Copy everything to `build/gh-pages/<branch_name>/`, where `<branch_name>` is the name of the local checked out Git branch. 1. Copy everything to `build/hosted/<branch_name>/`, where `<branch_name>` is the name of the local checked out Git branch.
After running `host-examples` you can now open the examples index page in the browser, for example: <http://localhost:8000/build/gh-pages/master/examples/>. After running `host-examples` you can now open the examples index page in the browser, for example: <http://localhost:8000/build/hosted/master/examples/>.
To make an example use `ol-simple.js` or `ol-whitespace.js` instead of `ol.js` To make an example use `ol-simple.js` or `ol-whitespace.js` instead of `ol.js`
append `?mode=simple` or `?mode=whitespace` to the example URL. append `?mode=simple` or `?mode=whitespace` to the example URL.