File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1
1
venv /
2
+ /site
Original file line number Diff line number Diff line change
1
+ # Copyright 2019 The Kubernetes Authors.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # Build the documentation.
16
+ .PHONY : docs
17
+ docs :
18
+ # Ensure site dir exists
19
+ mkdir -p site
20
+
21
+ # Generate docs with mkdocs
22
+ mkdocs build
Original file line number Diff line number Diff line change
1
+ # Netlify build instructions
2
+ [build ]
3
+ command = " make docs"
4
+ publish = " site"
5
+ environment = { PYTHON_VERSION = " 3.8" }
6
+
7
+ # Standard Netlify redirects
8
+ [[redirects ]]
9
+ from = " https://main--kubernetes-sigs-multicluster.netlify.com/*"
10
+ to = " https://main.multicluster.sigs.k8s.io/:splat"
11
+ status = 301
12
+ force = true
13
+
14
+ # HTTP-to-HTTPS rules
15
+ [[redirects ]]
16
+ from = " http://main.multicluster.sigs.k8s.io/*"
17
+ to = " https://main.multicluster.sigs.k8s.io/:splat"
18
+ status = 301
19
+ force = true
20
+
21
+ [[redirects ]]
22
+ from = " http://main--kubernetes-sigs-multicluster.netlify.com/*"
23
+ to = " http://main.multicluster.sigs.k8s.io/:splat"
24
+ status = 301
25
+ force = true
You can’t perform that action at this time.
0 commit comments