diff --git a/docs/content/docs/configuration/_index.md b/docs/content/docs/configuration/_index.md index 1a1834b17463..5d81cc392c8f 100644 --- a/docs/content/docs/configuration/_index.md +++ b/docs/content/docs/configuration/_index.md @@ -1,6 +1,8 @@ --- title: Configuration weight: 2 +aliases: + - /usage/configuration/ --- The config file has lower priority than command-line options. diff --git a/docs/content/docs/contributing/_index.md b/docs/content/docs/contributing/_index.md index d55f405faed4..7094d2e2dff4 100644 --- a/docs/content/docs/contributing/_index.md +++ b/docs/content/docs/contributing/_index.md @@ -1,6 +1,8 @@ --- title: Contributing weight: 6 +aliases: + - /contributing/quick-start/ --- {{< cards >}} diff --git a/docs/content/docs/contributing/architecture.md b/docs/content/docs/contributing/architecture.md index f9f35a5ea730..49dbc7f4a0d2 100644 --- a/docs/content/docs/contributing/architecture.md +++ b/docs/content/docs/contributing/architecture.md @@ -1,6 +1,8 @@ --- title: Architecture weight: 3 +aliases: + - /contributing/architecture/ --- There are the following golangci-lint execution steps: diff --git a/docs/content/docs/contributing/debug.md b/docs/content/docs/contributing/debug.md index d41eb070412b..a20d39f96227 100644 --- a/docs/content/docs/contributing/debug.md +++ b/docs/content/docs/contributing/debug.md @@ -1,6 +1,8 @@ --- title: Debugging weight: 5 +aliases: + - /contributing/debug/ --- You can see a verbose output of linter by using `-v` option. diff --git a/docs/content/docs/contributing/faq.md b/docs/content/docs/contributing/faq.md index 111ad3327dff..9ac530cfa02d 100644 --- a/docs/content/docs/contributing/faq.md +++ b/docs/content/docs/contributing/faq.md @@ -1,6 +1,8 @@ --- title: FAQ weight: 6 +aliases: + - /contributing/faq/ --- ## How to add a new open-source linter to `golangci-lint` diff --git a/docs/content/docs/contributing/new-linters.md b/docs/content/docs/contributing/new-linters.md index 76a14dda82f3..eb64c707b00e 100644 --- a/docs/content/docs/contributing/new-linters.md +++ b/docs/content/docs/contributing/new-linters.md @@ -1,6 +1,8 @@ --- title: New linters weight: 4 +aliases: + - /contributing/new-linters/ --- ## How to write a linter diff --git a/docs/content/docs/contributing/website.md b/docs/content/docs/contributing/website.md index f2eaf54c72f2..734a0ef36767 100644 --- a/docs/content/docs/contributing/website.md +++ b/docs/content/docs/contributing/website.md @@ -1,6 +1,8 @@ --- title: This Website weight: 7 +aliases: + - /contributing/website/ --- ## Technology diff --git a/docs/content/docs/contributing/workflow.md b/docs/content/docs/contributing/workflow.md index 7aa3291409cc..108b93d47298 100644 --- a/docs/content/docs/contributing/workflow.md +++ b/docs/content/docs/contributing/workflow.md @@ -1,6 +1,8 @@ --- title: Workflow weight: 2 +aliases: + - /contributing/workflow/ --- By participating in this project, you agree to abide our [code of conduct](https://github.com/golangci/golangci-lint?tab=coc-ov-file). diff --git a/docs/content/docs/formatters/_index.md b/docs/content/docs/formatters/_index.md index bde2d0bfcaa8..097c5c8936ca 100644 --- a/docs/content/docs/formatters/_index.md +++ b/docs/content/docs/formatters/_index.md @@ -2,6 +2,8 @@ title: Formatters weight: 4 excludeSearch: true +aliases: + - /usage/formatters/ --- To see a list of supported formatters and which formatters are enabled/disabled: diff --git a/docs/content/docs/linters/_index.md b/docs/content/docs/linters/_index.md index 74ca6f86598b..6d5b456aa19c 100644 --- a/docs/content/docs/linters/_index.md +++ b/docs/content/docs/linters/_index.md @@ -2,6 +2,8 @@ title: Linters weight: 3 excludeSearch: true +aliases: + - /usage/linters/ --- To see a list of supported linters and which linters are enabled/disabled: diff --git a/docs/content/docs/linters/false-positives.md b/docs/content/docs/linters/false-positives.md index b0b10cbbab7c..62b002dbff10 100644 --- a/docs/content/docs/linters/false-positives.md +++ b/docs/content/docs/linters/false-positives.md @@ -1,6 +1,8 @@ --- title: False Positives weight: 3 +aliases: + - /usage/false-positives/ --- False positives are inevitable, but we did our best to reduce their count. diff --git a/docs/content/docs/plugins/go-plugins.md b/docs/content/docs/plugins/go-plugins.md index db3c715ec744..a3f9f1a12dae 100644 --- a/docs/content/docs/plugins/go-plugins.md +++ b/docs/content/docs/plugins/go-plugins.md @@ -1,6 +1,8 @@ --- title: Go Plugin System weight: 2 +aliases: + - /plugins/go-plugins/ --- {{< callout type="warning" >}} diff --git a/docs/content/docs/plugins/module-plugins.md b/docs/content/docs/plugins/module-plugins.md index 1b1dbcef93e4..ca107cfe8bda 100644 --- a/docs/content/docs/plugins/module-plugins.md +++ b/docs/content/docs/plugins/module-plugins.md @@ -1,6 +1,8 @@ --- title: Module Plugin System weight: 1 +aliases: + - /plugins/module-plugins/ --- > [!TIP] diff --git a/docs/content/docs/product/changelog.md b/docs/content/docs/product/changelog.md index c66aa345c5ac..3962de6de2dd 100644 --- a/docs/content/docs/product/changelog.md +++ b/docs/content/docs/product/changelog.md @@ -2,6 +2,8 @@ title: Changelog weight: 2 excludeSearch: true +aliases: + - /product/changelog/ --- Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint) and on [Bluesky](https://bsky.app/profile/golangci-lint.run). diff --git a/docs/content/docs/product/migration-guide.md b/docs/content/docs/product/migration-guide.md index fa2cf2ca5057..b2209fb01df5 100644 --- a/docs/content/docs/product/migration-guide.md +++ b/docs/content/docs/product/migration-guide.md @@ -1,6 +1,8 @@ --- title: Migration guide weight: 3 +aliases: + - /product/migration-guide/ --- ## Command `migrate` diff --git a/docs/content/docs/product/roadmap.md b/docs/content/docs/product/roadmap.md index c86871b2f0fc..25fce1af6cda 100644 --- a/docs/content/docs/product/roadmap.md +++ b/docs/content/docs/product/roadmap.md @@ -1,6 +1,8 @@ --- title: Roadmap weight: 4 +aliases: + - /product/roadmap/ --- ## 💡 Feature Requests diff --git a/docs/content/docs/product/thanks.md b/docs/content/docs/product/thanks.md index 6409e2a5b267..3ba62c9256b9 100644 --- a/docs/content/docs/product/thanks.md +++ b/docs/content/docs/product/thanks.md @@ -1,6 +1,8 @@ --- title: Thanks weight: 1 +aliases: + - /product/thanks/ --- ## ❤️ diff --git a/docs/content/docs/welcome/faq.md b/docs/content/docs/welcome/faq.md index e7820967d07d..e03026e85856 100644 --- a/docs/content/docs/welcome/faq.md +++ b/docs/content/docs/welcome/faq.md @@ -2,6 +2,8 @@ title: FAQ toc: false weight: 5 +aliases: + - /welcome/faq/ --- ## Which Go versions are supported? diff --git a/docs/content/docs/welcome/install.md b/docs/content/docs/welcome/install.md index c2768419116b..5c39a51534b4 100644 --- a/docs/content/docs/welcome/install.md +++ b/docs/content/docs/welcome/install.md @@ -1,6 +1,8 @@ --- title: "Install" weight: 1 +aliases: + - /welcome/install/ --- ## CI installation diff --git a/docs/content/docs/welcome/integrations.md b/docs/content/docs/welcome/integrations.md index 13e03aa8866a..4c04979692ea 100644 --- a/docs/content/docs/welcome/integrations.md +++ b/docs/content/docs/welcome/integrations.md @@ -1,6 +1,8 @@ --- title: Integrations weight: 3 +aliases: + - /welcome/integrations/ --- ## Editor Integration diff --git a/docs/content/docs/welcome/quick-start.md b/docs/content/docs/welcome/quick-start.md index 5715b0c73daa..7ccab985c428 100644 --- a/docs/content/docs/welcome/quick-start.md +++ b/docs/content/docs/welcome/quick-start.md @@ -1,6 +1,8 @@ --- title: Quick Start weight: 2 +aliases: + - /welcome/quick-start/ --- ## Linting