GitLab/Publishing docs

= Publishing your project's documentation to  =

Project docpub offers two GitLab CI templates you can include in your  to build and publish your docs.

You can use docpub to publish your project's documentation or test coverage reports. Docs will be published by default under the same path as your GitLab project; in the case of test reports an extra  prefix will be added. See the README for more details.

Scap repo contains a usage example.

Note that in order to be able to trigger the docpub pipeline, the members of your project need to be added as developers to the docpub project. Best person to contact about this is Jaime Nuche, but anyone in Release Engineering should be able to help you.

Migrating from Gerrit
If you were already publishing your docs/coverage using the Zuul/Jenkins infrastructure, you should also take care of updating any references in the following places:
 * In the docroot listing if your project has an entry there
 * Any pages of https://www.mediawiki.org or https://wikitech.wikimedia.org

Once that is done, contact Jaime Nuche or someone in Release Engineering about removing the old docs.