Examples index #64

merged 5 commits into from Oct 18, 2012


None yet
2 participants

twpayne commented Oct 17, 2012

This pull request adds an automatically-generated index to the examples.

twpayne added some commits Oct 17, 2012

@twpayne twpayne Add script to generate example index 7f39f1d
@twpayne twpayne Build examples index 129578a
@twpayne twpayne Add option to hook in scripts to index generator f120410
@twpayne twpayne Pass query string through example index
This is so that visiting


will automatically add ?mode=RAW&Debug=true to all links in the
generated index.
@twpayne twpayne Host example index 0e81f67

elemoine commented Oct 17, 2012

Very cool! Ok to merge for me.


elemoine commented Oct 17, 2012

Alternatively we could maybe use gh-pages with Jekyll. We could generate Jekyll posts, and let gh-pages/Jekyll do the rest. In this way we have categories and tags for our examples, and can create a JSON index for search as described in this post from developmentseed. And working with templates will make further customization easier. Just a thought. I haven't tested this in practice.


elemoine commented Oct 17, 2012

See https://github.com/elemoine/ol3/tree/gh-pages and http://elemoine.github.com/ol3/ for my modest evening Jekyll investigations/experiments.

@twpayne twpayne added a commit that referenced this pull request Oct 18, 2012

@twpayne twpayne Merge pull request #64 from twpayne/examples-index
Examples index

@twpayne twpayne merged commit 061c173 into openlayers:master Oct 18, 2012

1 check passed

default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment