Examples index #64

Merged
merged 5 commits into from Oct 18, 2012

Conversation

Projects
None yet
2 participants
Contributor

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

    /examples/index.html?mode=RAW&Debug=true

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

elemoine commented Oct 17, 2012

Very cool! Ok to merge for me.

Owner

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.

Owner

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
061c173

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

1 check passed

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