This is an automated email from the ASF dual-hosted git repository. paul_a pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-docs.git
The following commit(s) were added to refs/heads/master by this push: new 7cff864 add deprecation notice 7cff864 is described below commit 7cff8641e7a020403de00cbeb09563e82fa034b9 Author: Paul Angus <paul.an...@shapeblue.com> AuthorDate: Tue Aug 14 14:58:26 2018 +0100 add deprecation notice --- rtd/make.bat | 36 ++++++++++++++++++++++++++++++++++++ rtd/source/archive_notice.rst | 8 ++++++++ rtd/source/conf.py | 4 ++++ 3 files changed, 48 insertions(+) diff --git a/rtd/make.bat b/rtd/make.bat new file mode 100644 index 0000000..d704d3c --- /dev/null +++ b/rtd/make.bat @@ -0,0 +1,36 @@ +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=source +set BUILDDIR=build +set SPHINXPROJ=ApacheCloudStack + +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 +) +rd %BUILDDIR% /q /s +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% + +:end +popd diff --git a/rtd/source/archive_notice.rst b/rtd/source/archive_notice.rst new file mode 100644 index 0000000..b8a0301 --- /dev/null +++ b/rtd/source/archive_notice.rst @@ -0,0 +1,8 @@ + + +.. WARNING:: + + NOTICE: THIS DOCUMENTATION SITE HAS BEEN SUPERSEDED. + + + For the current documentation site goto: `http://docs.cloudstack.apache.org <http://docs.cloudstack.apache.org>`_ diff --git a/rtd/source/conf.py b/rtd/source/conf.py index 1fc6e29..ea75aad 100644 --- a/rtd/source/conf.py +++ b/rtd/source/conf.py @@ -421,3 +421,7 @@ epub_copyright = u'2016, Apache CloudStack' # If false, no index is generated. #epub_use_index = True + +rst_prolog = """ +.. include:: /archive_notice.rst +"""