Hacker News new | past | comments | ask | show | jobs | submit login

I had the same realization a while ago, even started working on a documentation engine built around the idea that I never quite finished:

https://github.com/32bitkid/zang

The general concept was a markdown preprocessor that would include references to commits in git repositories and expand to the referenced content.

Because all the references were bound to a commit, then a) they were stable (if you used a hash rather than brach name), but more importantly b) you could determine when the file had changed and the documentation was possibly out of date.

it would generate a warning/error and one would have to update the documentation accordingly.

Anyway nice to see other people with the same underlying idea.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: