Skip to content

Commit 8c74ae5

Browse files
committed
dev: add website aliases
1 parent de3b816 commit 8c74ae5

File tree

20 files changed

+40
-0
lines changed

20 files changed

+40
-0
lines changed

docs/content/docs/configuration/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Configuration
33
weight: 2
4+
aliases:
5+
- /usage/configuration/
46
---
57

68
The config file has lower priority than command-line options.

docs/content/docs/contributing/architecture.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Architecture
33
weight: 3
4+
aliases:
5+
- /contributing/architecture/
46
---
57

68
There are the following golangci-lint execution steps:

docs/content/docs/contributing/debug.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Debugging
33
weight: 5
4+
aliases:
5+
- /contributing/debug/
46
---
57

68
You can see a verbose output of linter by using `-v` option.

docs/content/docs/contributing/faq.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: FAQ
33
weight: 6
4+
aliases:
5+
- /contributing/faq/
46
---
57

68
## How to add a new open-source linter to `golangci-lint`

docs/content/docs/contributing/new-linters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: New linters
33
weight: 4
4+
aliases:
5+
- /contributing/new-linters/
46
---
57

68
## How to write a linter

docs/content/docs/contributing/website.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: This Website
33
weight: 7
4+
aliases:
5+
- /contributing/website/
46
---
57

68
## Technology

docs/content/docs/contributing/workflow.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Workflow
33
weight: 2
4+
aliases:
5+
- /contributing/workflow/
46
---
57

68
By participating in this project, you agree to abide our [code of conduct](https://github.com/golangci/golangci-lint?tab=coc-ov-file).

docs/content/docs/formatters/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Formatters
33
weight: 4
44
excludeSearch: true
5+
aliases:
6+
- /usage/formatters/
57
---
68

79
To see a list of supported formatters and which formatters are enabled/disabled:

docs/content/docs/linters/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Linters
33
weight: 3
44
excludeSearch: true
5+
aliases:
6+
- /usage/linters/
57
---
68

79
To see a list of supported linters and which linters are enabled/disabled:

docs/content/docs/linters/false-positives.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: False Positives
33
weight: 3
4+
aliases:
5+
- /usage/false-positives/
46
---
57

68
False positives are inevitable, but we did our best to reduce their count.

0 commit comments

Comments
 (0)