Skip to content

dev: add website aliases #5991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 12, 2025
Merged

dev: add website aliases #5991

merged 2 commits into from
Aug 12, 2025

Conversation

ldez
Copy link
Member

@ldez ldez commented Aug 11, 2025

I discovered that we can create path aliases to match the previous paths to the documentation.

mapping
OLD NEW
/welcome/install/ /docs/welcome/install/
/welcome/quick-start/ /docs/welcome/quick-start/
/welcome/integrations/ /docs/welcome/integrations/
/welcome/faq/ /docs/welcome/faq/
/usage/configuration/ /docs/configuration/
/usage/linters/ /docs/linters/
/usage/false-positives/ /docs/linters/false-positives/
/usage/formatters/ /docs/formatters/
/product/thanks/ /docs/product/thanks/
/product/changelog/ /docs/product/changelog/
/product/migration-guide/ /docs/product/migration-guide/
/product/roadmap/ /docs/product/roadmap/
/contributing/quick-start/ /docs/contributing/
/contributing/workflow/ /docs/contributing/workflow/
/contributing/architecture/ /docs/contributing/architecture/
/contributing/new-linters/ /docs/contributing/new-linters/
/contributing/debug/ /docs/contributing/debug/
/contributing/faq/ /docs/contributing/faq/
/contributing/website/ /docs/contributing/website/
/plugins/module-plugins/ /docs/plugins/module-plugins/
/plugins/go-plugins/ /docs/plugins/go-plugins/

Follows #5965

@ldez ldez added this to the v2-unreleased milestone Aug 11, 2025
@ldez ldez added enhancement New feature or improvement area: docs labels Aug 11, 2025
@ldez ldez requested review from alexandear and bombsimon August 11, 2025 23:26
Copy link
Member

@alexandear alexandear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose adding an alias to docs/content/docs/contributing/_index.md:

aliases:
  - /contributing/quick-start/

@ldez ldez merged commit 51e0d21 into golangci:main Aug 12, 2025
18 checks passed
@ldez ldez deleted the fix/docs-aliases branch August 12, 2025 09:01
@ldez ldez modified the milestones: v2-unreleased, v2.4 Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants