I'm involved in a project where it's in a state that works well for the client, but ultimately needs a lot of intricate supplementary work for future success. If I left tomorrow, the other developers here (well, all but one of them, but he's working on something else) would have a difficult time managing what's been accomplished already, and what the project needs for the future, simply out of inexperience.
So, I am asking, what, if any, documentation should I leave behind before quitting this job? Anything beyond the normal documentation involved with a project?
I'm balancing between (a) leaving nothing, having the project fall flat, and me not looking very good for not finishing it, and (b) writing a bunch of documentation that I shouldn't be responsible for anyway.
Any thoughts on the subject would be appreciated.
UPDATE:
I think this all comes down to ownership. In this case, I don't own any part of the project; all I've done is contribute to it. I think that's where I'm getting confused. I started the project from scratch, so it feels like it's mine... but it isn't. I gave up those rights by signing my employment contract. What the ownership (management) wants to do with the project is up to them, and them only. I have the latitude to do what they want in my own way while still contributing positively to the company, but that's it. I am responsible for what I do and how I do it; business decisions are the management's responsibility.
I'm going to accept an answer here because I think the idea behind it is sound; however, I would like to turn a lose/lose into something better. One way to do that would be by writing an additional document describing the current state of the project. This would at least give management the information they need to direct my successor towards achieving their business goals. Even if I end up as the fall guy, at least I've told them about the shortcomings of the project without them having to find out on their own. I think that is worth a lot. (Note: the project actually is not in a poor state; this was just an example of a worst-case scenario.)
Everyone who posted here has good ideas, and I thank you all very much for contributing. Additional comments are certainly welcome.