Show the global nav only on the gitlab-docs project and locally
What this does
A different approach for https://gitlab.com/gitlab-com/gitlab-docs/issues/305.
Enable the global nav only in the gitlab-docs project and when working locally.
Why
With this approach, no changes need to be done in the products' .gitlab-ci.yml
, as this would be problematic for previous stable branches https://gitlab.com/gitlab-com/gitlab-docs/issues/305#note_123899476
FYI, any patches to CE/EE/Omnibus may also need to be backported to stable branches, or those branches will also fail in CI.
Edited by Achilleas Pipinellis