From f6eb2ec01fa8730286af81a2aa87a2dc23a959c0 Mon Sep 17 00:00:00 2001 From: meow Date: Tue, 12 Nov 2019 16:33:20 +0500 Subject: [PATCH] Remove warning of vxlan not working | Docs Updated --- docs/Makefile | 17 +++++------ docs/make.bat | 35 ----------------------- docs/source/introduction/installation.rst | 2 ++ docs/source/introduction/usage.rst | 2 ++ 4 files changed, 11 insertions(+), 45 deletions(-) delete mode 100644 docs/make.bat diff --git a/docs/Makefile b/docs/Makefile index d0c3cbf..734e5ff 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -5,16 +5,13 @@ # from the environment for the first two. SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build -SOURCEDIR = source -BUILDDIR = build +SOURCEDIR = source/ +BUILDDIR = build/ +DESTINATION=root@[2a0a:e5c0:2:12:0:f0ff:fea9:c3d9]:/home/app/static/ucloud -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +publish: build + rsync -av $(BUILDDIR)/ $(DESTINATION) -.PHONY: help Makefile +build: + $(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)" -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/make.bat b/docs/make.bat deleted file mode 100644 index 6247f7e..0000000 --- a/docs/make.bat +++ /dev/null @@ -1,35 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=source -set BUILDDIR=build - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% - -:end -popd diff --git a/docs/source/introduction/installation.rst b/docs/source/introduction/installation.rst index 05ab656..4a67e04 100644 --- a/docs/source/introduction/installation.rst +++ b/docs/source/introduction/installation.rst @@ -31,6 +31,8 @@ Enable Edge Repos, Update and Upgrade apk update apk upgrade + reboot + Install Dependencies ~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/source/introduction/usage.rst b/docs/source/introduction/usage.rst index 2140cd1..325d868 100644 --- a/docs/source/introduction/usage.rst +++ b/docs/source/introduction/usage.rst @@ -200,3 +200,5 @@ Create VM using this network .. code-block:: sh ucloud-cli vm create --vm-name meow2 --cpu 1 --ram '1gb' --os-ssd '4gb' --image images:alpine --network mynet + +