This is an automated email from the ASF dual-hosted git repository.

paul_a pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack-docs-admin.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new d44f432  mark as depricated
d44f432 is described below

commit d44f43264912cc278770d309c151456212aaf356
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 9a3173d..9b0e469 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -418,3 +418,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

Reply via email to