fakedarren / mootools-website

Initial work on a new site for MooTools.
24 stars 6 forks source link

URL Structure #78

Closed ibolmo closed 12 years ago

ibolmo commented 12 years ago

From previous comments: 1, 2, 3

Do we keep simple:

/demos /docs /blog

Proposed:

/:culture/:version/demos /:culture/:version/docs /:culture/:version/blog

:culture = ['en', 'es'] // required, if no culture translation return a 'This content is not yet translated. Contribute...' :version = ['current', master, 1.4.0, 1.3.2, ...] // current == master, and aside from current, they're all github tags.

For previous url version: /demos we would perma. redirect to the new structure assuming: /es/1.4.0/demos.

fakedarren commented 12 years ago

Yep. /docs/ and /:version/docs but for i18n it will be /docs/foo/bar/:language or :version/docs/foo/bar/:language

This is dependant on the amount of content we get for the english version - if we get lots of content we can consider languages that aren't English.