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
path: root/lib
AgeCommit message (Collapse)Author
2021-06-30Added change to list of wordsSuzanne Selhorn
2021-06-29Add deployed to the version note filterMarcel Amirault
2021-06-24Expand version formatter to support "renamed"Marcin Sedlak-Jakubowski
2021-06-22Only test anchors in the anchor testMarcel Amirault
2021-06-21Update runner default branch to mainMarcel Amirault
The runner project changed the default branch to main, so we need to make sure we pull from main whenever we need to in the docs project
2021-06-16Use the API to fetch the remote default branchAchilleas Pipinellis
2021-06-08Expand the introduced in filter to be more flexibleAchilleas Pipinellis
Basically, let us add any text we want between (introduced|(re)moved|deprecated) and (in|to).
2021-06-08Refactor Edit on GitLab codeEvan Read
2021-06-07Fix edit linkAchilleas Pipinellis
2021-06-01Fix task helperEvan Read
2021-05-31Switch master branch occurrences to default branch (main)Achilleas Pipinellis
2021-05-26Add margin to alert boxesAchilleas Pipinellis
2021-05-25Take into account the next major version for the dropdownAchilleas Pipinellis
This fixes the case where a new major version is the next version to be released, and the dropdown incorrectly shows a next patch version that doesn't exist.
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-04-23Extends `docs.gitlab.com` with feature flags tableKamil TrzciƄski
2021-04-23Improve screen reader experience, version historyAmy Qualls
2021-04-06Rename global navigation YAML fileAchilleas Pipinellis
Now that we only have one file, let's rename `default-nav.yaml` to `navigation.yaml`.
2021-04-06Unify global navigation for docs siteEvan Read
2021-03-24Feat: Update left navigation to allow more levelsDavid O'Regan
2021-03-05introduced_in.rb accepts "deprecated" / "removed"Marcin Sedlak-Jakubowski
2021-02-22Avoid build warningEvan Read
2021-01-27Add new tiers supportAchilleas Pipinellis
Based off https://gitlab.com/gitlab-org/technical-writing/-/issues/348
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-13Merge branch 'helper-prod-default-branch' into 'master'Marcel Amirault
Add helper for production and default branch See merge request gitlab-org/gitlab-docs!1422
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.
2021-01-12Remove previous versions from dropdown for omnibus packagesVasilii Iakliushin
We discovered that dropdown displays previous versions when deployed in Omnibus. Changes: * Extract common functionality into a partial or a helper * Add `display_previous_versions?` method to hide previous versions
2021-01-04Drop unused alertsAchilleas Pipinellis
Since we now only support two alerts, NOTE and WARNING, drop the rest of them. For https://gitlab.com/groups/gitlab-org/-/epics/5021
2020-12-22Fix several minor Rubocop issuesEvan Read
2020-12-17Rename is_omnibus? function for Rubocop ruleEvan Read
2020-12-04Add option to use WARNING in alertsAchilleas Pipinellis
This is a drop-in replacement of CAUTION, and they can be used interchangeably.
2020-12-03Convert product tier badges to GitLab SVGsEvan Read
Also updates tests and CI configuration to support tests.
2020-12-02Merge branch 'fix_symlink_converter_scope' into 'master'Achilleas Pipinellis
Limit symlink converter scope See merge request gitlab-org/gitlab-docs!1372
2020-12-02Allow alerts to stand on their ownAchilleas Pipinellis
Previously, for the alerts to work, a whitespace was needed to succeed them, and this was possible since we were using `NOTE: **Note:**`. However, if we wanted to get rid of the `**Note:**` text, this would mean that the alert would need a trailing whitespace in order to be rendered and it would look like `NOTE: `. With that change, the regex is more permissive and allows the whitespace to be absent. Since now we can render alerts with only the icon present, an alternate title was also added for accessibility issues.
2020-12-02Limit symlink converter scopeVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/214164 We don't want to create symlinks to images located in assets. Only images from /ee/ directory should be replaced by symlinks.
2020-12-01Fix the building path for image symlinksVasilii Iakliushin
Contributes to gitlab#214164 Follow-up for: https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/1336 Previous attempt to fix the link lead to the generation of the incorrect path. (see https://gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/-/jobs/863910246#L4261) This commit fixes the path generation logic.
2020-11-30Fix a Rubocop predicate name problemEvan Read
2020-11-26Fix Rubocop issues in icons codeEvan Read
2020-11-24Use GitLab SVGs for admonition iconsEvan Read
Also fixed Rubocop warning and improves code
2020-11-20Resolve image realpath before creating a symlinkVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/214164 It should fix the problem with double symlinks to images during omnibus building process.
2020-11-18Fix more Rubocop issuesEvan Read
2020-11-17Replace images with their symlinksVasilii Iakliushin
Contributes to https://gitlab.com/gitlab-org/gitlab-docs/-/issues/879 Replacing images with their symlinks allows to save disk space.
2020-11-17Merge branch '879_disable_inactive_sections' into 'master'Vasilii Iakliushin
Do not render inactive navigation sidebar sections See merge request gitlab-org/gitlab-docs!1291
2020-11-17Merge branch 'eread/fix-two-rubocop-errors' into 'master'Achilleas Pipinellis
Fix two Rubocop errors See merge request gitlab-org/gitlab-docs!1323
2020-11-17Merge branch '879_refactor_global_navigation' into 'master'Vasilii Iakliushin
Extract Navigation class to manage layout variables See merge request gitlab-org/gitlab-docs!1290
2020-11-17Fix two Rubocop errorsEvan 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-11-16Cover Navigation classes with testsVasilii Iakliushin
2020-11-16Merge branch 'eread/fix-even-more-rubocop-problems' into 'master'Achilleas Pipinellis
Fix even more Rubocop problems See merge request gitlab-org/gitlab-docs!1308