diff --git a/site/_config.yml b/site/_config.yml index 48f96596734..fa717daf829 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -173,6 +173,7 @@ collections: - contributors - features - presentations + - golang versioning: true latest: v1.0.1 versions: @@ -217,6 +218,7 @@ include: - CONTRIBUTING.md - README.md - CODE_OF_CONDUCT.md + - _redirects # Exclude these files from your production _site exclude: - Gemfile diff --git a/site/_redirects b/site/_redirects new file mode 100644 index 00000000000..b13e0afd131 --- /dev/null +++ b/site/_redirects @@ -0,0 +1,4 @@ +# TODO: this could be auto-generated based on the different repositories in antrea-io +# See https://github.com/knative/website/tree/main/tools/redir-gen + +/antrea/* go-get=1 /golang/antrea.html 200 diff --git a/site/golang/antrea.html b/site/golang/antrea.html new file mode 100644 index 00000000000..a813aaca072 --- /dev/null +++ b/site/golang/antrea.html @@ -0,0 +1,4 @@ +
+ + +