> I'm thinking (for example) of the "distcheck" target in autotools that requires all your unit tests pass before allowing you to package your software.
I see how that could make sense. Perhaps we could add a test-and-package target, but if we do so we should do it for all languages and as a separate patch.
> I kept getting errors about broken links.
The example you provided doesn't link to an actual file. The file was c-api/html/index.html.
I reorganized the API docs into doc/api/
, linked to all of these from forrest and committed this.