Skip to content

Draft: Add new docs raketask

Achilleas Pipinellis requested to merge ap-add-docs-raketasks into master

What does this MR do?

Adds a docs raketask that automates the creation and update of docs redirects. The content of Rakefile was old, and it was referencing a file that no longer exists, so I opted to replace its contents and place the new raketask in a new directory to keep things clean. I basically copied the contents of https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/Rakefile, so let me know if something doesn't seem right.

This is basically the same raketask that was added in GitLab, with some modifications for charts.

It automates the process defined under https://docs.gitlab.com/ee/development/documentation/#move-or-rename-a-page.

Related MRs:

Related issues

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
Edited by Achilleas Pipinellis

Merge request reports