Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-25Move survey banner into a YAML fileAchilleas Pipinellis
2021-04-26Add helper that checks the CI_PROJECT_NAMEAchilleas Pipinellis
Check if CI_PROJECT_NAME is 'gitlab-docs', or nil which implies local development. This can be used to skip portions that we don't want to render in one of the upstream products.
2021-01-22Fix minor Rubocop style issuesEvan Read
2021-01-19Add noidex tag for stable branchesAchilleas Pipinellis
We need to stop Google from indexing old docs, so we should make sure the noindex tag is added to all archived docs: https://developers.google.com/search/docs/advanced/crawling/block-indexing. That way Google will stop serving up results for pages 12.10 versions of pages, for example.
2021-01-18Hide survey banner on stable branchesAchilleas Pipinellis
We don't want the banner to be shown on stable branches. This introduces a new function that checks if CI_COMMIT_REF_NAME is defined, and if not, it uses Git to find the current branch name. If show_banner is false and current_branch is not a stable branch, hide the banner.
2021-01-13Add helper for production and default branchAchilleas Pipinellis
This ought to be used when we don't want to deploy things in the stable branches, since they are considered production.
2020-12-17Rename is_omnibus? function for Rubocop ruleEvan Read
2020-11-30Fix a Rubocop predicate name problemEvan Read
2020-11-16Do not render inactive navigation sidebar sectionsVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab-docs/-/issues/879 It saves up to 50% of the compiled files size
2020-05-19Extract check of production in its own functionAchilleas Pipinellis