To contribute to the docs, fork the composer/composer repository and add or change a file in the doc directory. Documentation sources can be browsed at https://github.com/composer/composer/tree/master/doc
Documentation is then automatically generated on getcomposer.org