Take a look at git, which also installs its manuals this way.