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