Redirect blueprints/pods/ to blueprints/cells/
What does this MR do?
Redirect blueprints/pods/ to blueprints/cells/. There are still references to "Pods" but we will resolve those in follow-up MRs
The 1st commit is automated using this script
redirect script
require 'fileutils'
def copy(old, new)
FileUtils.cp(old, new)
end
def create_redirect(old, new)
system %Q{bundle exec rake "gitlab:docs:redirect[#{old}, #{new}]"}
end
BLUEPRINTS = File.expand_path('doc/architecture/blueprints/', __dir__)
PODS_DIR = File.join(BLUEPRINTS, 'pods/')
CELLS_DIR = File.join(BLUEPRINTS, 'cells/')
Dir[File.join(PODS_DIR, '*.md')].each do |old_path|
new_path = File.join(CELLS_DIR, File.basename(old_path))
copy(old_path, new_path)
create_redirect(old_path, new_path)
end
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/index.md to ../cells/index.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-admin-area.md to ../cells/pods-feature-admin-area.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-agent-for-kubernetes.md to ../cells/pods-feature-agent-for-kubernetes.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-backups.md to ../cells/pods-feature-backups.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-ci-runners.md to ../cells/pods-feature-ci-runners.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-container-registry.md to ../cells/pods-feature-container-registry.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-contributions-forks.md to ../cells/pods-feature-contributions-forks.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-dashboard.md to ../cells/pods-feature-dashboard.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-data-migration.md to ../cells/pods-feature-data-migration.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-database-sequences.md to ../cells/pods-feature-database-sequences.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-git-access.md to ../cells/pods-feature-git-access.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-gitlab-pages.md to ../cells/pods-feature-gitlab-pages.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-global-search.md to ../cells/pods-feature-global-search.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-graphql.md to ../cells/pods-feature-graphql.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-organizations.md to ../cells/pods-feature-organizations.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-personal-namespaces.md to ../cells/pods-feature-personal-namespaces.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-router-endpoints-classification.md to ../cells/pods-feature-router-endpoints-classification.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-schema-changes.md to ../cells/pods-feature-schema-changes.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-secrets.md to ../cells/pods-feature-secrets.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-snippets.md to ../cells/pods-feature-snippets.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-template.md to ../cells/pods-feature-template.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/pods-feature-uploads.md to ../cells/pods-feature-uploads.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/proposal-stateless-router-with-buffering-requests.md to ../cells/proposal-stateless-router-with-buffering-requests.md
=> Creating new redirect from /Users/tkuah/code/gdk-ee/gitlab/doc/architecture/blueprints/pods/proposal-stateless-router-with-routes-learning.md to ../cells/proposal-stateless-router-with-routes-learning.md
Related issues
Author's checklist
-
Optional. Consider taking the GitLab Technical Writing Fundamentals course. -
Follow the: -
If you're adding or changing the main heading of the page (H1), ensure that the product tier badge is added. -
If you are a GitLab team member, request a review based on: - The documentation page's metadata.
- The associated Technical Writer.
If you are a GitLab team member and only adding documentation, do not add any of the following labels:
~"frontend"~"backend"~"type::bug"~"database"
These labels cause the MR to be added to code verification QA issues.
Reviewer's checklist
Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.
If you aren't sure which tech writer to ask, use roulette or ask in the #docs Slack channel.
-
If the content requires it, ensure the information is reviewed by a subject matter expert. - Technical writer review items:
-
Ensure docs metadata is present and up-to-date. -
Ensure the appropriate labels are added to this MR. -
Ensure a release milestone is set. - If relevant to this MR, ensure content topic type principles are in use, including:
-
The headings should be something you'd do a Google search for. Instead of Default behavior, say something likeDefault behavior when you close an issue. -
The headings (other than the page title) should be active. Instead of Configuring GDK, say something likeConfigure GDK. -
Any task steps should be written as a numbered list. - If the content still needs to be edited for topic types, you can create a follow-up issue with the docs-technical-debt label.
-
-
-
Review by assigned maintainer, who can always request/require the reviews above. Maintainer's review can occur before or after a technical writer review.
Edited by Kamil Trzciński