Closed zapnap closed 15 years ago
so i thought about this a bit and i don't like it because a GET should never affect server state. however, i've changed the default so that if you request a project doc that doesn't exist, it'll give you a new project page instead of a 404, with the form pre-filled and a notice. then all you need to do is hit 'submit' to generate the docs. 7b9a682
Let's say a user hits /projects/zapnap/isbn_validation and that documentation doesn't exist. We could check the validity of the owner / project name pair via GitHub and, if a named project does exist, redirect them to the 'working' page while we pull down the goodies and generate (just like adding a new project).
Would mean we have instant docs for things that haven't already been indexed but have been directly requested. Just an idea... (submitted by technicalpickles)