Commit Graph

70 Commits

Author SHA1 Message Date
Andreas Hocevar
3595c2cce7 Document change events properly
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02:00
Tim Schaub
d1f19b8e0d Use the latest Bootstrap 2015-06-30 22:30:28 -06:00
Frederic Junod
746116d266 Fix invalid example HTML markup 2015-05-28 10:23:14 +02:00
Éric Lemoine
4c2c21a5d6 Add Makefile 2015-04-26 20:20:59 +02:00
Frederic Junod
00ce2f0f58 Remove dead link in api doc
Fixes #3596
2015-04-20 15:07:39 +02:00
Tim Schaub
a67218bd7d Merge pull request #3516 from tschaub/unbinary
Remove ol.format.BinaryFeature.
2015-04-19 10:04:53 -06:00
Bart van den Eijnden
ed76bdb095 Merge pull request #3555 from bartvde/esri-json
Esri JSON support
2015-04-19 10:32:38 +02:00
Frederic Junod
288392c8a7 Remove externs/vbarray.js 2015-04-18 17:10:24 -06:00
Marc Jansen
fedceb9a05 Automatically add links to API-docs in examples
When we create the examples, we know exactly which specific `ol.…` symbols
we `goog.require(…)`. We can create links to the API documentation of these
symbols automatically.
2015-04-17 21:50:50 +02:00
Bart van den Eijnden
93c524baa0 Esri JSON read support 2015-04-17 18:36:16 +02:00
Tim Schaub
c5cf709c55 The common.js script makes a "common" object available 2015-04-17 09:49:53 -06:00
Tim Schaub
f2600977ae Avoid words with contentious alternative spellings 2015-04-17 09:43:37 -06:00
Tim Schaub
c8adf22438 Use DOM methods instead of jQuery in common example script 2015-04-17 06:22:38 -06:00
Tim Schaub
89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Tim Schaub
8fd2e9f79f Untangle resources and put built examples in the build dir 2015-04-17 06:22:38 -06:00
Bart van den Eijnden
092ea0f9a1 Fix external resources in example code snippet 2015-04-10 09:22:01 +02:00
Tim Schaub
e5c6915761 Update documentation 2015-04-07 08:35:48 -06:00
Tim Schaub
ab7b6d95dc Demonstrating markdown use in docs 2015-04-06 11:14:22 -06:00
Tim Schaub
121a83f19e Explicitly helper use instead of implicitly converting from markdown 2015-04-06 11:13:45 -06:00
Tim Schaub
3b96071096 Metadata names 2015-04-06 11:13:45 -06:00
Tim Schaub
9f1e0f001a Proper lists for example resources 2015-04-06 09:18:32 -06:00
Tim Schaub
6d318dce78 Rework plugin 2015-04-06 09:18:28 -06:00
Tim Schaub
05c1e973a3 Merge pull request #3415 from malaretv/stable-only-off
Stable Only unchecked by default.
2015-04-03 20:08:16 +02:00
Andreas Hocevar
da9de6ef1b Merge pull request #3456 from klokan/newmenu
Updated menu on the JSDOC template (non-responsive)
2015-04-02 20:55:59 +02:00
Andreas Hocevar
cd266f35ab Add verbatim template and throw error on invalid front-matter 2015-04-02 20:28:32 +02:00
Andreas Hocevar
bf1985d712 Fix doctype 2015-04-02 19:10:16 +02:00
Bart van den Eijnden
0882754b49 Add bootstrap js to the example template 2015-04-02 19:10:14 +02:00
Andreas Hocevar
4cce0f4936 Move documentation to the right place 2015-04-02 19:10:13 +02:00
Andreas Hocevar
bc617e8135 Add support for additonal js and css resources 2015-04-02 19:10:12 +02:00
Andreas Hocevar
0077626c93 Only create style block if there is css for the example 2015-04-02 19:10:11 +02:00
Andreas Hocevar
8d87bd30f0 Fix typo in template 2015-04-02 19:10:10 +02:00
Andreas Hocevar
1d940898b5 Add Task and template for building examples 2015-04-02 19:10:02 +02:00
Tim Schaub
44ad7ce30a Update doc on using @api annotation 2015-04-02 16:23:54 +02:00
Petr Pridal
f47009447b Retina ol logo 35px (70px) for the JSDOC template 2015-04-02 08:43:26 +02:00
Petr Pridal
4427d0ba42 Updated menu on the JSDOC template (non-responsive) 2015-04-01 19:42:57 +02:00
vmalaret
4daf08ec1d Rename flag to 'stableonly' 2015-04-01 09:26:17 +02:00
vmalaret
3576f8b793 Stable Only unchecked by default in docs.
Having it on by default makes it difficult
for new users to find commonly used functionality.
2015-03-30 10:37:50 +02:00
Andreas Hocevar
4862a8c897 Create github source links 2015-03-23 16:08:36 +01:00
Guillaume Beraudo
132686b4a7 Generate source map of minified ol.js
Allows automatic unminification by the browser.

A postprocessing is required to:
- fix the paths to the sources;
- add the link from the minified script to its map.

If someone knows how to do the first item in Python or nodejs, please provide a
patch. A simple shell script is:
```
\#!/bin/sh
pwd=`pwd`
sed -i "s!$pwd/build!olsource!g" 'build/ol.js.map'
sed -i "s!$pwd!olsource!g" 'build/ol.js.map'
```

The second item should always be manually handled to avoid 404 errors
in debuggers
`echo '//# sourceMappingURL=ol.js.map' >> build/ol.js`

Finally, create an alias / copy ol3 directory to /olsource in your
deployed environment.
2015-01-09 12:17:35 +01:00
Tim Schaub
4b423fca16 Exclude source files from docs 2014-12-22 17:01:01 -05:00
Tim Schaub
b60b0ecdb0 Add support for wrapping the build in UMD syntax. 2014-12-13 13:23:10 -08:00
Andreas Hocevar
4714c9b380 Fix typo in selector 2014-11-18 16:37:18 +01:00
Tim Schaub
39010238b9 Make stability checkbox sticky 2014-11-11 20:06:26 -08:00
Tim Schaub
c50b7d759c Merge pull request #2911 from tschaub/fires
List events fired in the navigation.
2014-11-06 11:10:37 -07:00
Tim Schaub
d4658837e2 Use toggleClass instead of addClass and removeClass 2014-11-06 10:42:40 -07:00
Andreas Hocevar
1d221f8166 Add ability to filter out unstable Fires items 2014-11-06 10:32:17 -07:00
Frederic Junod
1253177ae4 Add FastClick in mobile-full-screen example 2014-11-04 11:48:33 +01:00
Tim Schaub
02bfa42736 List events fired in the navigation 2014-11-03 16:52:17 -07:00
Tim Schaub
4b7e52c76f Allow build.js task to add header 2014-10-30 12:18:08 -06:00
Tim Schaub
7c2e0fa627 Verbose warnings 2014-10-27 08:45:11 -06:00