diff --git a/Makefile b/Makefile index 4978b32b..ec63a2fe 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,14 @@ k8s: @npm run build @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)/$(GITDIR)/$@" $(SPHINXOPTS) $(O) -t $@ +openshift: + @cp source/default-conf.py source/conf.py + @make sync-operator-version + @make sync-minio-version + @make sync-kes-version + @npm run build + @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)/$(GITDIR)/$@" $(SPHINXOPTS) $(O) -t $@ -t k8s + container: @cp source/default-conf.py source/conf.py @make sync-minio-version @@ -152,6 +160,6 @@ sync-deps: # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @echo -e "Specify one of the following supported build outputs" - @echo -e "- make linux\n- make macos\n- make windows\n- make k8s\n- make container" + @echo -e "- make linux\n- make macos\n- make windows\n- make k8s\n- make openshift\n- make container" @echo -e "Clean targets with 'make clean-'" @echo -e "Clean all targets with `make clean`" diff --git a/build-docs.sh b/build-docs.sh index 2806a9bc..f7df6af8 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -10,13 +10,17 @@ nvm use stable export PATH=${PATH}:${HOME}/.local/bin make clean -SYNC_SDK=TRUE make linux -make windows macos container k8s +make SYNC_SDK=TRUE linux +make windows macos container k8s openshift sudo rm -rf /var/www/docs/minio/kubernetes/upstream sudo mkdir -p /var/www/docs/minio/kubernetes/upstream sudo cp -vr build/${branch}/k8s/html/* /var/www/docs/minio/kubernetes/upstream/ +sudo rm -rf /var/www/docs/minio/kubernetes/openshift +sudo mkdir -p /var/www/docs/minio/kubernetes/openshift +sudo cp -vr build/${branch}/openshift/html/* /var/www/docs/minio/kubernetes/openshift/ + sudo rm -rf /var/ww/docs/minio/container sudo mkdir -p /var/www/docs/minio/container sudo cp -vr build/${branch}/container/html/* /var/www/docs/minio/container/ diff --git a/source/_templates/platform-navigation.html b/source/_templates/platform-navigation.html index 859da7b7..12925f50 100644 --- a/source/_templates/platform-navigation.html +++ b/source/_templates/platform-navigation.html @@ -37,7 +37,16 @@ - + +
+ +
+