adam-singer / dart-carte-du-jour

Pub documentation generation system
www.dartdocs.org
Other
25 stars 8 forks source link

Make dartdocs.org/packageName go to the latest version of the package #87

Open efortuna opened 9 years ago

efortuna commented 9 years ago

What the title says... would be great if I could type dartdocs.org/path and get directed to http://www.dartdocs.org/documentation/path/1.3.0/index.html#path (which is currently the latest path package)

sethladd commented 9 years ago

For now:

dartdocs.org/documentation/path/latest

adam-singer commented 9 years ago

Maybe this will be possible if we use a dart on cloud frontend for redirect and keep the current path structure the same from cloud storage side.

beatgammit commented 9 years ago

I don't know if this is new, but it seems http://www.dartdocs.org/documentation/path/latest doesn't work (blank page), but manually specifying a version does (e.g. 0.6.5).

I also didn't see this documented anywhere, so I wasn't sure if this was an official feature or something that just happened to work.