Closed autra closed 5 years ago
Once this PR is merged, we can delete examples/index.html
in https://github.com/iTowns/itowns (or keep it, if we think it is useful to have itowns side). At the moment, the style is copied from this file. We still need to make it responsive.
@iTowns/reviewers please r?
@iTowns/reviewers updated.
The only downside of this is that we loose the "WFS data with" from the actual examples page. Any suggestions for having it back? A metadata file on itowns side maybe?
The only downside of this is that we loose the "WFS data with" from the actual examples page. Any suggestions for having it back? A metadata file on itowns side maybe?
Forget this, actually we have it.
@iTowns/reviewers updated: just added a H3 around links.
So at the moment, the title is the filename stripped of its extension. In the future, we need to find a way to give nicer title. Maybe just replace _
in filenames with spaces could cheaply do the trick?
@iTowns/reviewers rebased. Are we still insterested in auto-generation of the example page ?
This PR auto-generates a page containing examples from
/itowns/examples
.Context and Motivation
It will be quickly cumbersome to maintain our
/itowns/examples/index.html
.Moreover, we want this page to integrate into our jekyll template. Therefore auto-generating it from the files in this folders might save us some pain.