+ );
+};
+
+export default Search;
diff --git a/docs/src/components/SearchBar/styles.css b/docs/src/components/SearchBar/styles.css
new file mode 100644
index 00000000..f9053f58
--- /dev/null
+++ b/docs/src/components/SearchBar/styles.css
@@ -0,0 +1,40 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+.search-icon {
+ background-image: var(--ifm-navbar-search-input-icon);
+ height: auto;
+ width: 24px;
+ cursor: pointer;
+ padding: 8px;
+ line-height: 32px;
+ background-repeat: no-repeat;
+ background-position: center;
+ display: none;
+}
+
+.search-icon-hidden {
+ visibility: hidden;
+}
+
+@media (max-width: 360px) {
+ .search-bar {
+ width: 0 !important;
+ background: none !important;
+ padding: 0 !important;
+ transition: none !important;
+ }
+
+ .search-bar-expanded {
+ width: 9rem !important;
+ }
+
+ .search-icon {
+ display: inline;
+ vertical-align: sub;
+ }
+}
diff --git a/docs/src/docs/index.mdx b/docs/src/docs/index.mdx
index 638391f1..39563949 100644
--- a/docs/src/docs/index.mdx
+++ b/docs/src/docs/index.mdx
@@ -11,7 +11,7 @@ import { IconContainer } from "lib/icons";
[](https://hub.docker.com/r/golangci/golangci-lint)
[](https://somsubhra.com/github-release-stats/?username=golangci&repository=golangci-lint)
-`golangci-lint` is a linters aggregator.
+`golangci-lint` is a Go linters aggregator.
Join our slack channel by [joining Gophers workspace](https://invite.slack.golangbridge.org/)
and then [joining](https://gophers.slack.com/archives/CS0TBRKPC) channel [`#golangci-lint`](https://gophers.slack.com/archives/CS0TBRKPC).
@@ -41,3 +41,15 @@ Short 1.5 min video demo of analyzing [beego](https://github.com/astaxie/beego).
## License Scan
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fgolangci%2Fgolangci-lint?ref=badge_large)
+
+## Contributors
+
+This project exists thanks to all the people who contribute.
+
+[](https://github.com/golangci/golangci-lint/graphs/contributors)
+
+
+
+## Stargazers over time
+
+[](https://starchart.cc/golangci/golangci-lint)
diff --git a/docs/src/docs/usage/install/annotations.png b/docs/src/docs/usage/install/annotations.png
new file mode 100644
index 00000000..45671aec
Binary files /dev/null and b/docs/src/docs/usage/install/annotations.png differ
diff --git a/docs/src/docs/usage/install.mdx b/docs/src/docs/usage/install/index.mdx
similarity index 71%
rename from docs/src/docs/usage/install.mdx
rename to docs/src/docs/usage/install/index.mdx
index 791fad47..456a26d7 100644
--- a/docs/src/docs/usage/install.mdx
+++ b/docs/src/docs/usage/install/index.mdx
@@ -2,9 +2,23 @@
title: "Install"
---
-## Binary
+## CI installation
-Most installations are done for CI (e.g. Travis CI, CircleCI). It's important to have reproducible CI:
+Most installations of `golangci-lint` are performed for CI.
+
+### GitHub Actions
+
+We recommend using [our GitHub Action](https://github.com/golangci/golangci-lint-action) for running `golangci-lint` in CI for GitHub projects.
+It's [fast and uses smart caching](https://github.com/golangci/golangci-lint-action#performance) inside
+and it can be much faster than simple binary installation.
+
+Also, the action creates GitHub annotations for found issues: you don't need to dig into build log to see found by `golangci-lint` issues:
+
+
+
+### Other CI
+
+It's important to have reproducible CI:
don't start to fail all builds at the same time. With golangci-lint this can happen if you
use deprecated option `--enable-all` and a new linter is added or even without `--enable-all`: when one upstream linter is upgraded.
@@ -28,7 +42,9 @@ golangci-lint --version
It is advised that you periodically update version of golangci-lint as the project is under active development
and is constantly being improved. For any problems with golangci-lint, check out recent [GitHub issues](https://github.com/golangci/golangci-lint/issues) and update if needed.
-## macOS
+## Local Installation
+
+### macOS
You can also install a binary release on macOS using [brew](https://brew.sh/):
@@ -37,13 +53,13 @@ brew install golangci/tap/golangci-lint
brew upgrade golangci/tap/golangci-lint
```
-## Docker
+### Docker
```bash
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v
```
-## Go
+### Install from Source
Go source installations are supported for the two most recent Go releases.
diff --git a/docs/src/docs/usage/integrations.mdx b/docs/src/docs/usage/integrations.mdx
index 945dde18..19e0ea5a 100644
--- a/docs/src/docs/usage/integrations.mdx
+++ b/docs/src/docs/usage/integrations.mdx
@@ -58,3 +58,7 @@ source ~/.bashrc
### Linux
See [kubectl instructions](https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion) and don't forget to replace `kubectl` with `golangci-lint`.
+
+## CI Integration
+
+See our [GitHub Action](/usage/install#github-actions).