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-install.git
The following commit(s) were added to refs/heads/master by this push: new 0d6bf25 mark as depricated 0d6bf25 is described below commit 0d6bf2504dca6749f74bbc9e071b5e44828df2b3 Author: Paul Angus <paul.an...@shapeblue.com> AuthorDate: Tue Aug 14 13:30:38 2018 +0100 mark as depricated --- make.bat | 36 ++++++++++++++++++++++++++++++++++++ source/archive_notice.rst | 8 ++++++++ source/conf.py | 4 ++++ 3 files changed, 48 insertions(+) diff --git a/make.bat b/make.bat new file mode 100644 index 0000000..d704d3c --- /dev/null +++ b/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/source/archive_notice.rst b/source/archive_notice.rst new file mode 100644 index 0000000..b8a0301 --- /dev/null +++ b/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/source/conf.py b/source/conf.py index 3c78bc6..74c30e6 100644 --- a/source/conf.py +++ b/source/conf.py @@ -427,3 +427,7 @@ epub_copyright = u'2016, Apache Software Foundation' # If false, no index is generated. #epub_use_index = True + +rst_prolog = """ +.. include:: /archive_notice.rst +""" \ No newline at end of file