##// END OF EJS Templates
Allow to rebuild docs with Warning this is an old version.
Matthias Bussonnier -
Show More
@@ -147,6 +147,8 b' gh-pages: clean html'
147 # if VERSION is unspecified, it will be dev
147 # if VERSION is unspecified, it will be dev
148 # For releases, VERSION should be just the major version,
148 # For releases, VERSION should be just the major version,
149 # e.g. VERSION=2 make gh-pages
149 # e.g. VERSION=2 make gh-pages
150 # use ARCHIVE=1 VERSION=3 gh-pages to build the
151 # docs with a warning that this is not stable docs anymore.
150 python gh-pages.py $(VERSION)
152 python gh-pages.py $(VERSION)
151
153
152 texinfo:
154 texinfo:
@@ -78,6 +78,15 b" if iprelease['_version_extra'] == 'dev':"
78
78
79 """
79 """
80
80
81 elif os.environ.get('ARCHIVE', None):
82 rst_prolog = """
83 .. warning::
84
85 This documentation is for an old version of IPython.
86 You can find docs for newer versions `here <http://ipython.readthedocs.org/en/stable/>`_.
87
88 """
89
81 # The master toctree document.
90 # The master toctree document.
82 master_doc = 'index'
91 master_doc = 'index'
83
92
General Comments 0
You need to be logged in to leave comments. Login now